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
Adrià Fontcuberta
74077cbf7c
Fix redux FAQ link
Hi! Just wanted to thank you for your work.
Redux FAQ link was broken so I just fixed it.
7 years ago
Alex Krolick
566406e717
Add docs for new Context API (R16.3)
7 years ago
Alex Krolick
9b869fa73f
Update leading sentence
7 years ago
Alex Krolick
b1adba0a38
Recommend old API when applicable
7 years ago
Alex Krolick
04c7f16ef2
Wording
7 years ago
Alex Krolick
4b939d2448
~~All things considered~~
7 years ago
Alex Krolick
962ef9a567
Highlight deprecation notice
7 years ago
Alex Krolick
96b10a73ff
Grammar
7 years ago
Alex Krolick
96fe82c734
Declare setRef method outside render
7 years ago
Alex
8075ce2db7
Make the callback example more similar to the new API
7 years ago
stevefaulkner
fb32db116c
Update accessibility.md ( #660 )
The link to the explanation of landmarks, was not up to date, suggesting this http://www.scottohara.me/blog/2018/03/03/landmarks.html provides an up to date and detailed explanation.
7 years ago
Swarnava Sengupta
7dcf2f19be
Fix a small typo ( #662 )
7 years ago
Alex
7b02740afe
Create "Accessing refs" section above specific examples
7 years ago
Alex
0e7243f7fb
Merge intro paragraphs
7 years ago
Alex
6627687b0b
Describe what a ref is at the top of the doc
7 years ago
Dominic Gannaway
9bc1932688
updated line numbers
7 years ago
Dominic Gannaway
b049931a65
revised content as per PR feedback
7 years ago
Alex
d59c4f9116
Add temporary link to context RFC slated for 16.3
Fixes #646
7 years ago
Dominic Gannaway
ee78358939
address feedback
7 years ago
Dominic Gannaway
c09a284997
Added React.createRef doc
7 years ago
Benjamim Sonntag
c8161bd9a0
Update reference-react-dom-server.md ( #625 )
Fixes a small typo in `renderToNodeStream`'s documentation
7 years ago
Brian Vaughn
813be17f1e
Updated docs/recipes in response to a new GH question
This question showed there was a use-case that I wasn't covering fully enough before, so I've added a new section.
7 years ago
Brian Vaughn
626ac42195
Moved StrictMode to docs rather than blog post
7 years ago
Sophie Alpert
8bbc69b453
Update context.md
Slightly less judgy with less of a hierarchical vibe.
7 years ago