Collection of React Hooks ready to install with npm
- [✔️] useTitle
- [✔️] useInput
- [✔️] useBeforeLeave
- [✔️] useClick
- [✔️] useFadeIn
- [✔️] useFullscreen
- [✔️] useHover
- [✔️] useNetwork
- [✔️] useNotification
- [✔️] useScroll
- [✔️] useTabs
- [✔️] usePreventLeave
- [✔️] useConfirm
- [✔️] useAxios
1. useState: easy to modify input value
const [value, setValue] = useState(initalValue);
2. useEffect: works like componentDidMount but used when you want some condition(dependecies)
useEffect(*function, **dependencies)
3. useRef: works like document.getElementById