Using React Custom Hooks
Scenario
I'm tasked with handling the logout logic for our React application. We have a redux store that stores a user's state once we pass a JWT token upon login. Simple right?
What are hooks and and custom hooks?
Hooks
In React, a hook is a special...
ogadar.hashnode.dev4 min read