Lucas Duailibe
dab9b8b2fd
Add 'visual components' use case for forwarding refs ( #798 )
* Add 'visual components' use case for forwarding refs
* Rearrange "forwarding refs" to focus on simple use case
* Minor wording nits to 2018-03-29-react-v-16-3.md
* Minor wording nits to forwarding-refs.md
* Add more info to the forwardRef reference doc
* Minor wording nits to reference-react.md
7 years ago
Toru Kobayashi
0ea7d99127
Revert "Adopt bvaughn's example"
This reverts commit 2e1554dc32
.
7 years ago
Toru Kobayashi
2e1554dc32
Adopt bvaughn's example
7 years ago
Tom Gallacher
17d04ac9f3
Fix: added missing component instantiation within the 'forwardRef' API example
7 years ago
Toru Kobayashi
c72935a054
prettier
7 years ago
Toru Kobayashi
d5c449d824
React.forwardRef accepts a render function, not Functional Component
7 years ago
Brian Vaughn
73ba23fccd
Updated createRef example not to use class property syntax
7 years ago
Brian Vaughn
c41bb29856
Added DevTools name consideration to forwardRef examples
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
a357b64503
Added React.forwardRef to 16.3 release blog post
7 years ago
Brian Vaughn
c08533af9f
Removed context-before example
7 years ago
Brian Vaughn
8494428bcb
Added example of before/after context API
7 years ago