Plus, receive recommendations and exclusive offers on all of your favorite books and authors from Simon & Schuster.
React Hooks in Action
With Suspense and Concurrent Mode
Table of Contents
About The Book
React Hooks in Action teaches you to write fast and reusable React components using Hooks.
Build stylish, slick, and speedy-to-load user interfaces in React without writing custom classes. React Hooks are a new category of functions that help you to manage state, lifecycle, and side effects within functional components. React Hooks in Action teaches you to use pre-built hooks like useState, useReducer and useEffect to build your own hooks. Your code will be more reusable, require less boilerplate, and you’ll instantly be a more effective React developer.
About the technology
About the book
React Hooks in Action teaches you to write fast and reusable React components using Hooks. You’ll start by learning to create component code with Hooks. Next, you’ll implement a resource booking application that demonstrates managing local state, application state, and side effects like fetching data. Code samples and illustrations make learning Hooks easy.
Build function components that access React features
Manage local, shared, and application state
Explore built-in, custom, and third-party hooks
Load, update, and cache data with React Query
Improve page and data loading with code-splitting and React Suspense
About the reader
For beginning to intermediate React developers.
About the author
Table of Contents
1 React is evolving
2 Managing component state with useState hook
3 Managing component state with useReducer hook
4 Working with side effects
5 Managing component state with useRef hook
6 Managing application state
7 Managing performance with useMemo
8 Managing state with the Context API
9 Creating your own hooks
10 Using third party hooks
11 Code splitting with Suspense
12 Integrating data-fetching with Suspense
13 Experimenting with useTransition, useDeferredValue and SuspenseList
- Publisher: Manning (April 13, 2021)
- Length: 376 pages
- ISBN13: 9781617297632
Browse Related Books
Resources and Downloads
You may also like: Thriller and Mystery Staff Picks
More to Explore
Our Summer Reading Recommendations
Red-hot romances, poolside fiction, and blockbuster picks, oh my! Start reading the hottest books of the summer.
This Month's New Releases
From heart-pounding thrillers to poignant memoirs and everything in between, check out what's new this month.