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.
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.