You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
2.1 KiB
96 lines
2.1 KiB
12 years ago
|
---
|
||
|
id: OUTLINE
|
||
|
title: Goals of the documentation
|
||
|
layout: docs
|
||
|
prev: 09.1-tutorial.html
|
||
|
---
|
||
12 years ago
|
- Flow of docs should mimic progression of questions a new user would ask
|
||
|
- High information density -- assume the reader is adept at JS
|
||
12 years ago
|
- Talk about best practices
|
||
|
- JSFiddles for all code samples
|
||
12 years ago
|
- Provide background for some of the design decisions
|
||
12 years ago
|
- Less words less words less words!
|
||
12 years ago
|
|
||
12 years ago
|
## Outline
|
||
12 years ago
|
|
||
12 years ago
|
Motivation / Why React?
|
||
|
- Declarative (simple)
|
||
|
- Components (separation of concerns)
|
||
|
- Give it 5 minutes
|
||
|
|
||
|
Displaying data
|
||
|
- Hello world example
|
||
|
- Reactive updates
|
||
12 years ago
|
- Components are just functions
|
||
12 years ago
|
- JSX syntax (link to separate doc?)
|
||
12 years ago
|
- JSX gotchas
|
||
12 years ago
|
|
||
12 years ago
|
Interactivity and dynamic UIs
|
||
12 years ago
|
- Click handler example
|
||
|
- Event handlers / synthetic events (link to w3c docs)
|
||
|
- Under the hood: autoBind and event delegation (IE8 notes)
|
||
12 years ago
|
- React is a state machine
|
||
12 years ago
|
- How state works
|
||
12 years ago
|
- What components should have state?
|
||
12 years ago
|
- What should go in state?
|
||
|
- What shouldn't go in state?
|
||
12 years ago
|
|
||
|
Scaling up: using multiple components
|
||
|
- Motivation: separate concerns
|
||
|
- Composition example
|
||
12 years ago
|
- Ownership (and owner vs. parent)
|
||
12 years ago
|
- Children
|
||
12 years ago
|
- Data flow (one-way data binding)
|
||
12 years ago
|
- A note on performance
|
||
12 years ago
|
|
||
|
Building effective reusable components
|
||
12 years ago
|
- You should build a reusable component library (CSS, testing etc)
|
||
12 years ago
|
- Prop validation
|
||
12 years ago
|
- Transferring props: a shortcut
|
||
12 years ago
|
- Mixins
|
||
|
- Testing
|
||
|
|
||
|
Forms
|
||
|
|
||
12 years ago
|
Working with the browser
|
||
12 years ago
|
- The mock DOM
|
||
12 years ago
|
- Refs / getDOMNode()
|
||
12 years ago
|
- More about refs
|
||
12 years ago
|
- Component lifecycle
|
||
12 years ago
|
- Browser support and polyfills
|
||
12 years ago
|
|
||
12 years ago
|
Working with your environment
|
||
12 years ago
|
- CDN-hosted React
|
||
|
- Using master
|
||
|
- In-browser JSX transform
|
||
12 years ago
|
- Productionizing: precompiled JSX
|
||
12 years ago
|
- Helpful open-source projects
|
||
|
|
||
12 years ago
|
Integrating with other UI libraries
|
||
|
- Using jQuery plugins
|
||
|
- Letting jQuery manage React components
|
||
|
- Using with Backbone.View
|
||
|
- CoffeeScript
|
||
|
- Moving from Handlebars to React: an example
|
||
|
|
||
|
Server / static rendering
|
||
|
- Motivation
|
||
|
- Simple example
|
||
|
- How does it work? (No DOM)
|
||
|
- Rendr + React
|
||
|
|
||
|
Big ideas
|
||
|
- Animation
|
||
|
- Bootstrap bindings (responsive grids)
|
||
|
- Reactive CSS
|
||
|
- Web workers
|
||
12 years ago
|
- Native views
|
||
12 years ago
|
|
||
|
Case studies
|
||
|
- Comment box tutorial from scratch
|
||
|
- From HTML mock to application: React one-hour email
|
||
12 years ago
|
- Jordan's LikeToggler example
|
||
12 years ago
|
|
||
12 years ago
|
Reference
|
||
|
- API
|
||
12 years ago
|
- DOM differences
|