4 ms·
Hooks are a fair bit easier to manage than classes in React. It won't change what you do with React much, but from file to file, it's more pleasant to read a ho
by dynamite-ready 6y ago
Hooks are a fair bit easier to manage than classes in React.
It won't change what you do with React much, but from file to file, it's more pleasant to read a hook based component, when compared to a class based component, once you're used to it.
Hooks also simplify working with React context a great deal. If that's your option for state management.