As we learned in the previous section, Hooks provide a direct API to all React concepts. Furthermore, we can define our own Hooks in order to encapsulate logic without having to write a higher-order component, which causes a wrapper hell. In this section, we are going to give an overview of various Hooks, which we are going to learn about throughout the book.
Overview of various Hooks
Hooks provided by React
React already provides various Hooks for different functionalities. There are three basic Hooks, and a handful of additional Hooks.
Basic Hooks
Basic Hooks provide...