InterviewBuddy
All interview questions

What is a custom hook?

Beginner

Answer

A custom hook is a function starting with use that combines reusable hook logic. Each component calling it has its own state unless the hook connects to shared external state.