DEV Community

Discussion on: Why I think React Hooks are Slick

Collapse
 
itsjzt profile image
Saurabh Sharma • Edited

I like hooks, they feel more natural to me.

when I was trying to make a react library and I got to know you can not have more than one copy of React in the same app with hooks. (There were all kinds of workaround for it, but the easier thing was to just code in Class API)

Collapse
 
kayis profile image
K

I also read they have some performance implications, don't know if they solved them. But yes, component classes are sometimes the better way, depending on what you want to do :)