Overview of built-in React Hooks
React provides certain built-in Hooks. We have already learned about the basic Hooks that React provides:
useStatein Chapter 2, Using the State HookuseEffectin Chapter 4, Using the Reducer and Effect HooksuseContextin Chapter 5, Implementing React Contexts
Additionally, React provides more advanced Hooks, which can be very useful in certain use cases. We already covered the following advanced Hooks:
useReducerin Chapter 4, Using the Reducer and Effect HooksuseActionStatein Chapter 7, Using Hooks for Handling FormsuseFormStatus(not covered yet, but similar touseActionState)useOptimisticin Chapter 7, Using Hooks for Handling FormsuseTransitionin Chapter 7, Using Hooks for Handling Forms
However, there are still more advanced Hooks that React provides:
useRefuseImperativeHandleuseIduseSyncExternalStoreuseDebugValueuseDeferredValue...