TIENE EN SU CESTA DE LA COMPRA
en total 0,00 €
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
Chapter 1Hello World
Setup
Hello React World
What Just Happened?
React.DOM.*
Special DOM Attributes
React DevTools Browser Extension
Next: Custom Components
Chapter 2The 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
Chapter 3Excel: A Fancy Table Component
Data First
Table Headers Loop
Debugging the Console Warning
Adding