December 2022
Beginner to intermediate
590 pages
10h 26m
English
Learning Objectives
By the end of this chapter, you will be able to do the following:
Build your own React Hooks.
Use custom and default React Hooks in your components.
Throughout this book, one key React feature has been referenced repeatedly in many different variations. That feature is React Hooks.
Hooks power almost all core functionalities and concepts offered by React—from state management in a single component to accessing cross-component state (context) in multiple components. They enable you to access JSX elements via refs and allow you to handle side effects inside of component functions.
Without Hooks, modern React would not work, and building feature-rich applications would be ...
Read now
Unlock full access