react-clipboard.js
react-clipboard.js copied to clipboard
modernize clipboard component with hooks.
uses hooks instead of component lifecycle
note: how can i test this, i made changes but not sure how to test them.
@whatknight
Thanks for the major contribution, I'll take some time next week to review it and merge it.
As for testing, I usually insert it into a project by linking it on its dependencies (ln -s <path to your react-clipboard.js> ./node_modules/react-clipboard.js
)
@nihey any chance working on that soon? Let me know if I can help in any way
@obsd Thanks for reviving this, yes, I should work on it soon, probably by next week.
One thing that would really make the review & test process more simple are some tests, some end to end tests with something like Cypress would really be appreciated.
Heyo, any updates?