React Hooks in Action:With Suspense and Concurrent Mode


React Hooks in Action:With Suspense and Concurrent Mode
by:John Larsen
Publisher Finelybook 出版社:Manning Publications; 1st edition (19 Jun. 2021)
Language 语言:English
pages 页数:250 pages
ISBN-10 书号:1617297631
ISBN-13 书号:9781617297632

Book Description
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.

Get started with React Hooks and you’ll soon have code that’s better organized and easier to maintain. React Hooks are targeted JavaScript functions that let you reuse and share functionality across components. Use them to split components into smaller functions, manage state and side effects, and access React features without classes—all without having to rearrange your component hierarchy.

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.

What’s inside

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

下载地址 Download
赞(4) 觉得文章有用就打赏一下
未经允许不得转载:finelybook » React Hooks in Action:With Suspense and Concurrent Mode

觉得文章有用就打赏一下

支付宝扫一扫打赏

微信扫一扫打赏