Custom Hooks
Custom hooks are how React developers extract and share stateful logic. Interviewers often ask you to build one on the spot to test your understanding of hook composition and encapsulation.
Enable JavaScript for the full StreamPrep guide.