React.js Tutorial with MozTrap
Demo
Source Code
1. A simple and static React.js layout
Code (JSX)
Compiled (JS)
2. Transfering data top-down using the
props
attribute
Code (JSX)
3. Transfering data all the way from the root component
Code (JSX)
4. Loading dynamic data using the
state
Code (JSX)
5. Creating a search form submit event handler
Code (JSX)
6. Calling event handlers all the way up to the owner of the
state
Code (JSX)
7. Extracting reusable parts with
mixin
s
Code (JSX)