Alex Krolick
fe84e096dc
Explain why you need forwardRef
7 years ago
Alex Krolick
509b126510
Explain context in lifecycle a bit more
7 years ago
Brian Vaughn
b3bf0bd520
Added getSnapshotBeforeUpdate recipe
7 years ago
Alex Krolick
e6898245d9
Add notes about composing multiple contexts
7 years ago
Alex Krolick
d58c892169
+ "same algo"
7 years ago
Alex Krolick
1ead0605c2
17 -> future version
7 years ago
Brian Vaughn
b25276a80e
Updated forward-refs example to use class component
7 years ago
Brian Vaughn
d66d3a218e
Updated TODO for later
7 years ago
Brian Vaughn
f5d51393f5
Formatted a Note
7 years ago
G Akshay
66287e122b
Remove trailing comma
7 years ago
Alex Krolick
ccc1f26b60
Replace "deprecated" with "legacy" for now
7 years ago
Alex Krolick
f588bd61e1
Update "legacy" wording
7 years ago
Alex Krolick
4e1282edac
Add to "when to use context"
7 years ago
Alex Krolick
6eb29a18f5
Combine basic examples
7 years ago
Alex Krolick
da091e6723
Add note about how changes are determined
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
53d604fd3a
~deprecated~ legacy
7 years ago
Alex Krolick
e9ae68f55b
remove confusing {}
7 years ago
Billy Janitsch
f57b73da2b
Clarify render prop caveat
7 years ago
Brian Vaughn
2f9b77a980
16.4 -> 16.x
7 years ago
Brian Vaughn
fa34fcf582
16.4 -> 16.x
7 years ago
Alex Krolick
6aa199516d
Add solution to motivation problem
7 years ago
Alex Krolick
291b2fdeb8
Wording tweaks
7 years ago
Alex Krolick
54a21eeb88
Update examples.md
7 years ago
Balram Singh
a8c69c18d1
test ( #693 )
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
fe3d0a449d
Typo
7 years ago
Alex Krolick
a5022da882
Add in-page TOC
Also reduce spacing between ul/li tags
7 years ago
Alex Krolick
0780f7252e
Reorganize examples & legacy docs
7 years ago
Brian Vaughn
29d6592630
Update React.Component reference to show deprecations and new lifecycles
7 years ago
Arjun SK
e7e7770d6c
K5 Showcase is not a react project anymore
React Developer Tools didn't recognize the site as react.
7 years ago
Brian Vaughn
92cf72dafd
Hardened wording a bit around async
7 years ago
Dan Abramov
2ead10e6a3
Update nav
7 years ago
Brian Vaughn
5d5a5d2635
StrictMode title => Strict Mode
7 years ago
Brian Vaughn
21fa1162b6
Removed StrictMode from side nav
7 years ago
Brian Vaughn
fe033f675d
Added StrictMode to docs sidenav
7 years ago
Brian Vaughn
201fcadfa7
Added React.forwardRef to API and docs
7 years ago
Brian Vaughn
97a109d8b2
Added a note about experimental class properties usage in examples
7 years ago
Brian Vaughn
a937c46e02
Typo fixes
7 years ago
Brian Vaughn
a357b64503
Added React.forwardRef to 16.3 release blog post
7 years ago
Brian Vaughn
2f97f485ce
Fixed docs
7 years ago
Alex Krolick
e5bf5945b3
Unnest callback ref example code
https://github.com/facebook/react/pull/12375#issuecomment-373199666
7 years ago
Brian Vaughn
12d7c16cf2
Updated createRef 'value' attributes to 'current'
7 years ago
Alex Krolick
7ff3c4e9cc
let -> const
7 years ago
Alex Krolick
a2e445b85b
Prettier
7 years ago
Michael H
d1e8b526ae
Adds Ternary Operator to Make Example Concise Issue #657
7 years ago
Alex Krolick
d9e7b42527
Update note label
7 years ago
Alex Krolick
c384265e8e
Remove redundant a11y elements
7 years ago
Rauno Freiberg
3788f5c2cf
[docs] add reference to the explanation of capitalizing components
7 years ago