0 votes
in ReactJS by
Do I need to rewrite all my class components with hooks in reactjs?

1 Answer

0 votes
by

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.

Related questions

0 votes
asked Nov 8, 2023 in ReactJS by GeorgeBell
0 votes
asked Nov 14, 2022 in Google Workspace by SakshiSharma
...