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
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
React in Action
Summary React in Action introduces front-end developers to the React framework and related tools. This clearly …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …