The official React library provides certain built-in Hooks, which can be used to create custom Hooks. We have already learned about the three basic Hooks that React provides:
- useState
- useEffect
- useContext
Additionally, React provides more advanced Hooks, which can be very useful in certain use cases:
- useReducer
- useCallback
- useMemo
- useRef
- useImperativeHandle
- useLayoutEffect
- useDebugValue