How to create your own custom Hooks in React (extensive guide)
Introduction
What are custom Hooks
Hooks are reusable functions.
When you have component logic that needs to be used by multiple components, we can extract that logic to a custom Hook.
Custom Hooks start with "use". Example: useFetch.
use should be a...
thisisvishal.hashnode.dev5 min read
Ashish Kumar
Web Stuff
It was really easy to understand .. You made it simple :)