Book description
Hit the ground running with React, the open source technology from Facebook for building rich web applications fast. Updated for the latest React release, the second edition of this hands-on guide shows you how to build React components and organize them into maintainable large-scale apps. If you're familiar with JavaScript syntax, you're ready to get started.
Through the course of this book, author Stoyan Stefanov helps web developers and programmers build a complete single-page application. You'll quickly learn why some developers consider React the key to the web app development puzzle.
- Set up React and write your first "Hello, World" web app
- Create and use custom React components alongside generic DOM components
- Build a data table component that lets you edit, sort, search, and export its contents
- Master the JSX syntax
- Use built-in Hooks and create your own custom ones
- Manage the app's data flow with reducers and contexts
- Use Create React App to take care of the build process and focus on React itself
- Build a complete custom app that lets you store data on the client
Publisher resources
Table of contents
- Preface
- 1. Hello World
-
2. The Life of a Component
- A Custom Function Component
- A Custom Class Component
- Properties
- State
- A textarea Component
- Make It Stateful
- A Note on DOM Events
- Props Versus State
- Props in Initial State: an Antipattern
- Accessing the Component from the Outside
- Lifecycle Methods
- Lifecycle Example: Log It All
- Lifecycle Example: Using a Child Component
- Performance Win: Prevent Component Updates
- Whatever Happened to Function Components?
- 3. Excel: A Fancy Table Component
- 4. Functional Excel
- 5. JSX
- 6. Setting Up for App Development
- 7. Building the App’s Components
- 8. The Finished App
- Index
Product information
- Title: React: Up & Running, 2nd Edition
- Author(s):
- Release date: November 2021
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492051466
You might also like
book
React Cookbook
React helps you create and work on an app in just a few minutes. But learning …
book
React Projects - Second Edition
Learn how to develop real-world applications of varying complexity for the web, mobile, and VR devices …
book
React Material-UI Cookbook
Develop modern-day applications by implementing Material Design principles in React using Material-UI Key Features Use React …
book
Test-Driven Development with React: Apply Test-Driven Development in Your Applications
Learn to use accelerated test-driven development (TDD) to build a React application from scratch. This book …