React is evolving really quickly and since React 16.8, the new React Hooks have been introduced, which are a game-changer as regards React development in that they will boost the speed of coding and improve the performance of our applications. React enables us to write React applications using only functional components, meaning there is no longer any need to use class components.
In this chapter, we will cover the following topics:
- The new React Hooks and how to use them
- The rules of the Hooks
- How to migrate a class component to React Hooks
- Understanding the component life cycle with Hooks and effects
- How to fetch data with Hooks
- How to memorize components, values, and functions with memo, useMemo, and useCallback
- How to implement useReducer