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
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
You can call a custom hook inside another custom one. I offer to read this article to use it right away. Link: https://reactjs.org/warnings/invalid-hook-call-warning.html#breaking-the-rules-of-hooks