a-x- / react-easy-print

Powerful react component for easy printing
https://www.npmjs.com/package/react-easy-print
MIT License
87 stars 19 forks source link

make it work in strict mode #43

Open sibelius opened 4 years ago

sibelius commented 4 years ago

https://reactjs.org/docs/strict-mode.html

My recommendation is to avoid classes and move to functions and hooks

Vitao18 commented 4 years ago

Hey Can I help on this issue?

sibelius commented 4 years ago

send pull request

a-x- commented 4 years ago

Hey, you're awesome, guys! Thanks for you job.

I reviewed all the changed files, but still not tried to run it.

We'll released alpha version after PR be merged, so we be able to check new it on our projects