89 Commits (73ba23fccddb06c714a9c72ec8fab08638b2033c)

Author SHA1 Message Date
Brian Vaughn 73ba23fccd Updated createRef example not to use class property syntax 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 6afbc7b56e Added side effects props change example 7 years ago
Brian Vaughn 9113b4c829 Fixed example props/prevProps 7 years ago
Dan Abramov 77dae36663
Use examples without types in the post (#719) 7 years ago
Brian Vaughn 46103921fe Changes in response to Sophie's feedback 7 years ago
Brian Vaughn 7cf5b58187 Wordsmithing 7 years ago
Brian Vaughn e143823d7a Added create-subscription example 7 years ago
Brian Vaughn bd06bbc1a7 Added context HOC example to reference 7 years ago
Brian Vaughn f11a149412 Added DevTools naming consideration to React.forwardRef reference doc example 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
Brian Vaughn 7ac0712ed8 Updated 16.3 blog post to account for getSnapshotBeforeUpdate lifecycle 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 b3bf0bd520 Added getSnapshotBeforeUpdate recipe 7 years ago
Brian Vaughn c41bb29856 Added DevTools name consideration to forwardRef examples 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
Brian Vaughn 01c26919b4 Replaced cWRP in forwardRef example with cDU 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
Brian Vaughn f14f1477d5 Renamed ref in example 7 years ago
Brian Vaughn 22d0ec128e Updated forwardRef example to use named function 7 years ago
Brian Vaughn 201fcadfa7 Added React.forwardRef to API and docs 7 years ago
Brian Vaughn a357b64503 Added React.forwardRef to 16.3 release blog post 7 years ago
Brian Vaughn 55650fc12c Added explicit null value in state initializer 7 years ago
Brian Vaughn 866ef01ae6 Prettier 7 years ago
Brian Vaughn 3c75def7e7 Deleted StrictMode and examples/images 7 years ago
Brian Vaughn c7a61e6aba Imported StrictMode docs (and examples) from PR #596 7 years ago
Alex Krolick 566406e717 Add docs for new Context API (R16.3) 7 years ago
Brian Vaughn 2312173e66 Moved updating-subscription example into an external Gist with a note 7 years ago
Brian Vaughn 442591cec9 Added example of updating subscription from props 7 years ago