DEV Community


Discussion on: Do you still use React classes?

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.

buriti97 profile image

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