Commit Graph

15 Commits

Author SHA1 Message Date
Brian Vaughn
b25276a80e Updated forward-refs example to use class component 2018-03-23 09:23:04 -07:00
Brian Vaughn
ef23c49e84 Updated multi-context example to show more indirection 2018-03-23 09:15:25 -07:00
Brian Vaughn
5864093674 Updated context-in-lifecycles example 2018-03-23 09:08:19 -07:00
Alex Krolick
9f5499789a Update highlights 2018-03-22 22:35:52 -07:00
Alex Krolick
6eb29a18f5 Combine basic examples 2018-03-22 22:22:36 -07:00
Alex Krolick
7db107b2fc + "default value" comment 2018-03-22 21:38:34 -07:00
Alex Krolick
0d32f18b09 Kill highlight 2018-03-22 21:18:38 -07:00
Alex Krolick
7b5764fed5 Add ref forwarding, lifecycle examples 2018-03-22 21:15:40 -07:00
Alex Krolick
fec6d6c141 Add mutliple contexts example 2018-03-22 21:01:59 -07:00
Alex Krolick
b49f99b7d1 Highlight whole createContext() call 2018-03-21 12:16:23 -07:00
Alex Krolick
7c6688c12c Highlight createContext() 2018-03-21 10:16:38 -07:00
Alex Krolick
6aa199516d Add solution to motivation problem 2018-03-21 10:04:11 -07:00
Alex Krolick
de22379cae Syntax tweaks 2018-03-21 09:50:09 -07:00
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
2018-03-21 01:28:01 -07:00
Alex Krolick
566406e717 Add docs for new Context API (R16.3) 2018-03-06 01:07:14 -08:00