I\'m using ReactJS and when a user clicks a link I want to copy some text to the clipboard.
I am using Chrome 52 and I do not need to support any other browsers.
Why use you need an npm package when you can get all within a single button like this
navigator.clipboard.writeText('Copy this text to clipboard')} > Copy
I hope this helps @jerryurenaa