David Guan
11c7124888
Update the minimal React fiddle resource links in "How to Contribute" ( #701 )
* Update the minimal React fiddle resource links
* Update how-to-contribute.md
7 years ago
Alex Krolick
349446d8a7
Add caveats section
7 years ago
Brian Vaughn
7ac0712ed8
Updated 16.3 blog post to account for getSnapshotBeforeUpdate lifecycle
7 years ago
Alex Krolick
c9d50e3aba
Remove lib link
7 years ago
Alex Krolick
9e4442a5ad
typo
7 years ago
Alex Krolick
fe84e096dc
Explain why you need forwardRef
7 years ago
Alex Krolick
509b126510
Explain context in lifecycle a bit more
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
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
Alex Krolick
6aa199516d
Add solution to motivation problem
7 years ago
Alex Krolick
291b2fdeb8
Wording tweaks
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
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
a937c46e02
Typo fixes
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
Rauno Freiberg
3788f5c2cf
[docs] add reference to the explanation of capitalizing components
7 years ago
Chafic Najjar
032edd2c3c
Change "header" to "heading" in hello-world.html
h1-h6 elements are called "headings", not "headers" (source: https://www.w3.org/TR/html52/sections.html#headings-and-sections ).
7 years ago
Brandon Dail
0e02416549
Mention non-compliant implementations of Map/Set
7 years ago
nhducit
0ed89a57d1
Update Reasonml community link
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
Brian Vaughn
f6e5d655dd
Fixed off-by-one line highlights.
7 years ago