0 votes
in React Hooks by
What are React Hooks?

1 Answer

0 votes
by
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. With Hooks, you can extract stateful logic from a component so it can be tested independently and reused. Hooks allow you to reuse stateful logic without changing your component hierarchy. This makes it easy to share Hooks among many components or with the community.

Related questions

0 votes
0 votes
asked May 30, 2023 in React Hooks by Robindeniel
0 votes
asked Dec 8, 2020 in ReactJS by SakshiSharma
...