Book description
Hit the ground running with React, the open-source technology from Facebook for building rich web applications fast. With this practical guide, Yahoo! web developer Stoyan Stefanov teaches you how to build components—React’s basic building blocks—and organize them into maintainable, large-scale apps. If you’re familiar with basic JavaScript syntax, you’re ready to get started.
Once you understand how React works, you’ll build a complete custom Whinepad app that helps users rate wines and keep notes. 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
- Use the JSX syntax extension as an alternative to function calls
- Set up a lean, low-level build process that helps you focus on React
- Build a complete custom app that lets you store data on the client
- Use ESLint, Flow, and Jest tools to check and test your code as your app evolves
- Manage communication between components with Flux
Publisher resources
Table of contents
- Preface
- 1. Hello World
-
2. The Life of a Component
- Bare Minimum
- Properties
- propTypes
- State
- A Stateful Textarea Component
- A Note on DOM Events
- Props Versus State
- Props in Initial State: An Anti-Pattern
- Accessing the Component from the Outside
- Changing Properties Mid-Flight
- Lifecycle Methods
- Lifecycle Example: Log It All
- Lifecycle Example: Use a Mixin
- Lifecycle Example: Using a Child Component
- Performance Win: Prevent Component Updates
- PureRenderMixin
- 3. Excel: A Fancy Table Component
- 4. JSX
- 5. Setting Up for App Development
- 6. Building an App
- 7. Lint, Flow, Test, Repeat
- 8. Flux
- Index
Product information
- Title: React: Up & Running
- Author(s):
- Release date: July 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491931820
You might also like
book
React: Up & Running, 2nd Edition
Hit the ground running with React, the open source technology from Facebook for building rich web …
book
React in Action
React in Action introduces front-end developers to the React framework and related tools. This clearly written, …
book
React Quickly
React Quickly is for anyone who wants to learn React.js fast. This hands-on book teaches you …
book
React: Building Modern Web Applications
Master the art of building dynamic, modern web applications with React About This Book Learn the …