Custom Hooks
What's a custom hook?
A custom hook is just a normal javascript function whose name starts with keyword use. It can make use of react's built-in hooks like useState() , useEffect(), etc. Custom hooks usually return useful values for our components.
...
msdeshmukh.hashnode.dev3 min read