40 Commits (e3a6479989faee3e129c8386d0e5db9d12b81bde)

Author SHA1 Message Date
Sebastian Markbåge 896214b7d2 Document class contextType as the primary consuming mechanism (#1283) 6 years ago
Nathan Quarles 392d5bfdcd Update lifecycles.js (#1098) 6 years ago
Travis Arnold fc99015393 swap example theme colors (#851) 7 years ago
Brian Vaughn cad9c0e424 Prettier 7 years ago
Dan Abramov e32847f030
Add a defaultValue for context example 7 years ago
Dan Abramov 7ab54e2928
Remove too much highlighting in a small snippet 7 years ago
tjallingt 6521a654cb Added updating nested context default value example (#780) 7 years ago
tjallingt e4941f6440 Added example for updating nested context consumer (#776) 7 years ago
Dan Abramov f7cf140607
Tweak context docs (#766) 7 years ago
Chanyeon Kim e8cdf5128a Fix button => themed-buton (#752) 7 years ago
Pat e61d594b64 Minor: context/theme-detailed-app.js broken (#746) 7 years ago
Christian Maughan Tegnér b1d705ad60 Use correct component name in context doc example (#740) 7 years ago
Brian Vaughn 3a36a402a5 Revert "Added inline child function caveat to Context docs" 7 years ago
Brian Vaughn 797a792b77 Revert "Prettier" 7 years ago
Brian Vaughn 032576cf7b Prettier 7 years ago
Brian Vaughn 691cd4577c Added inline child function caveat to Context docs 7 years ago
Brian Vaughn bd06bbc1a7 Added context HOC example to reference 7 years ago
Alex Krolick 8437e3767b Fix syntax 7 years ago
Alex Krolick b0e860404b Prettier 7 years ago
Alex Krolick 349446d8a7 Add caveats section 7 years ago
Alex Krolick 920b4f4741 Replace divs with some fake components 7 years ago
Alex Krolick 69198013e1 Use functional component 7 years ago
Alex Krolick fb8e9e8a1b kill class props 7 years ago
Alex Krolick f9225e2562 Remove propTypes 7 years ago
Alex Krolick 3c44882d68 Use function keyword 7 years ago
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 7 years ago
Alex Krolick 566406e717 Add docs for new Context API (R16.3) 7 years ago