4 custom react hooks that will make your development easier
1. useToggle
Basically, what this hook does is that, it takes a parameter with value true or false and toggles that value to opposite. It's useful when we want to take some action into it's opposite action.
For example;
show and hide modal,
show m...
blog.furkanozbek.com3 min read