React
docs
support
download
blog
github
Quick Start
Getting Started
Tutorial
Videos
Guides
Why React?
Displaying Data
JSX in Depth
JSX Gotchas
Interactivity and Dynamic UIs
Multiple Components
Reusable Components
Forms
Working With the Browser
More About Refs
Tooling Integration
Add-Ons
Animation
Two-Way Binding Helpers
Class Name Manipulation
Examples
Reference
Top-Level API
Component API
Component Specs and Lifecycle
Supported Tags and Attributes
Event System
DOM Differences
Special Non-DOM attributes
Reconciliation
Tips
Introduction
Inline Styles
If-Else in JSX
Self-Closing Tag
Maximum Number of JSX Root Nodes
Shorthand for Specifying Pixel Values in style props
Type of the Children props
Value of null for Controlled Input
componentWillReceiveProps Not Triggered After Mounting
Props in getInitialState Is an Anti-Pattern
DOM Event Listeners in a Component
Load Initial Data via AJAX
False in JSX
Communicate Between Components
Expose Component Functions
Examples
Production Apps
#
All of
Instagram.com
is built on React.
Many components on
Facebook.com
, including the commenting interface, ads creation flows, and page insights.
Khan Academy
is using React for most new JS development.
Sample Code
#
We've included
a step-by-step comment box tutorial
.
The React starter kit
includes several examples which you can
view online in our GitHub repository
.
React one-hour email
goes step-by-step from a static HTML mock to an interactive email reader (written in just one hour!)
Rendr + React app template
demonstrates how to use React's server rendering capabilities.
← Prev