«
Prev
»
Next
Web / ReactJS Interview questions
Advantages of React hooks.
- Eliminates the need for class-based components, lifecycle hooks, and
this keyword. - Hooks makes it easy to reuse logic, by consolidating common functionality into custom hooks.
- More readable, testable code as it isolates logic from the components itself.
More Related questions...
Comments & Discussions