DEV Community

loading...

Discussion on: Do you still use React classes?

Collapse
ivanjeremic profile image
Ivan Jeremic

Hooks are perfect for state and I know exactly where they are, just because classes are the first thing you learned doesn't mean you have to give up and use still classes, hooks are just so much better and cleaner there is no reason to compare them.

Collapse
buriti97 profile image
buridev

I think typescript works better with hooks than classes too. that's is my opnion:)