Do I need to rewrite all my class components with hooks?

No. But you can try Hooks in a few components(or new components) without rewriting any existing code. Because there are no plans to remove classes in ReactJS.


Author of content
Edit this page

Made by Michael Sakhniuk

Twitter