SitePoint
  • Blog
  • Forum
  • Library
  • Login
Join Premium
  1. Details
  2. Creator
  3. Content
  4. Reviews
  5. FAQ
book cover

Designing React Hooks the Right Way

Learn about the React engine and discover how each built-in Hook can manage a persistent value by hooking into it

Created by

Fang Jin

Published by

Packt

Last Updated

15 January 2022

Details

React hooks provide you with an easy interface to write custom data management solutions with low development and maintenance costs. Understanding how Hooks are designed enables you to use them more effectively, and this book helps you to do just that.

Description

React hooks create a unique solution for using states in function components to orchestrate UI communication. They provide you with an easy interface to write custom data management solutions with low development and maintenance costs. Understanding how Hooks are designed enables you to use them more effectively, and this book helps you to do just that.

This book starts with a custom-crafted solution to reveal why Hooks are needed in the first place. You will learn about the React engine and discover how each built-in Hook can manage a persistent value by hooking into it. You will walk through the design and implementation of each hook with code so that you gain a solid understanding. Finally, you'll get to grips with each Hook's pitfalls and find out how to effectively overcome them.

By the end of this React book, you'll have gained the confidence to build and write Hooks for developing functional and efficient web applications at scale.

Creator

Fang Jin avatar

Fang Jin

Fang Jin is a software engineer that makes reusable and scalable web modules that can be applied to modern browsers and devices. He is an engineering hobbyist with interests ranging from economics and philosophy to software development, architecture, and team development. Fang is a lifelong learner and during his journey, he has helped organizations and teams adopting UI frameworks with consistent branding look and feel across departments to save cost and boost efficiency. In his free time, he likes swimming and surfing YouTube.
Fang Jin avatar

Content

1
Preview
2
3
4
5
6
7
8
9
10

Reviews

Log in to write a review!

Frequently Asked Questions

book cover

Designing React Hooks the Right Way

  • Unlimited access to this title and 600+ others in our library

  • New titles added frequently

  • Cancel anytime

Stuff we do

  • Premium
  • Newsletters
  • Forums

About

  • Our Story
  • Terms of use
  • Privacy Policy
  • Corporate Memberships

Contact

  • Contact us
  • FAQ
  • Publish your book with us
  • Write an article for us
  • Advertise

Connect

© 2000 – 2024 SitePoint Pty. Ltd.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.