What are custom hooks and why are they needed?
Answer
•These are functions that use hooks and reuse logic.
•They simplify behavior composition.
•They make components thin.
•The name should start with use.
•Follow hook rules inside.
Was this answer helpful?