Brian Vaughn
b25276a80e
Updated forward-refs example to use class component
7 years ago
Brian Vaughn
ef23c49e84
Updated multi-context example to show more indirection
7 years ago
Brian Vaughn
5864093674
Updated context-in-lifecycles example
7 years ago
Alex Krolick
9f5499789a
Update highlights
7 years ago
Alex Krolick
6eb29a18f5
Combine basic examples
7 years ago
Alex Krolick
7db107b2fc
+ "default value" comment
7 years ago
Alex Krolick
0d32f18b09
Kill highlight
7 years ago
Alex Krolick
7b5764fed5
Add ref forwarding, lifecycle examples
7 years ago
Alex Krolick
fec6d6c141
Add mutliple contexts example
7 years ago
Alex Krolick
b49f99b7d1
Highlight whole createContext() call
7 years ago
Alex Krolick
7c6688c12c
Highlight createContext()
7 years ago
Alex Krolick
6aa199516d
Add solution to motivation problem
7 years ago
Alex Krolick
de22379cae
Syntax tweaks
7 years ago
Alex Krolick
808e5bddaf
Rephrase and reorganize
- Move Motivation to top @bvaughn
- Copy in some Motivation text from the RFC for the intro para
- Update examples
- Remove state from simple example
- Remove "random color" example;
just toggle a theme variable instead
- Update highlights
7 years ago
Alex Krolick
566406e717
Add docs for new Context API (R16.3)
7 years ago