Can I use a custom hook inside of a custom hook?

Viewed 953

I'm trying to separate logic in my app and I was wondering If is it possible to call a custom hook inside another custom hook

2 Answers

Yes. Just follow the main rules of hooks. Don't call them conditionally, etc.

Related