react-clipboard.js icon indicating copy to clipboard operation
react-clipboard.js copied to clipboard

modernize clipboard component with hooks.

Open eightypop opened this issue 4 years ago • 4 comments

uses hooks instead of component lifecycle

note: how can i test this, i made changes but not sure how to test them.

eightypop avatar Oct 18 '19 00:10 eightypop

@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 avatar Oct 25 '19 13:10 nihey

@nihey any chance working on that soon? Let me know if I can help in any way

obsd avatar Mar 13 '22 16:03 obsd

@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.

nihey avatar Mar 18 '22 15:03 nihey

Heyo, any updates?

CosminPerRam avatar Aug 09 '23 18:08 CosminPerRam