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
Aneeq-ur-Rehman
53f4ce7881
Update static-type-checking.md to fix the installation of Flow ( #608 )
* Update static-type-checking.md to fix the installation of Flow
The second command won't work until the "flow" is added to scripts.
* Update static-type-checking.md
7 years ago
G Akshay
c66011b32d
`just before` sounds better that 'immediately before' ( #611 )
7 years ago
G Akshay
10c3a91538
Update reference-react-component.md ( #609 )
`just before` sounds better than `immediately before`.
7 years ago
Stefan Papst
430abc18c3
updated link to 'big picture'
7 years ago
Dan Abramov
3ed5a51eeb
Move the section on file inputs to avoid circular learning dep ( #588 )
7 years ago
Nick
7c76dd505e
Fix broken flow link ( #585 )
7 years ago
Henrique Sosa
72e8051fa3
Fix misspelling
7 years ago
Dan Abramov
9a953858d6
Add more references to setState batching ( #583 )
7 years ago
Andrey Nikonov
ecf038e520
Update reference-react-component.md
There is no #createclass anchor on /docs/react-api.html page anymore.
7 years ago
Zeb DeOs
53a600087b
Add semicolon for example code style consistency ( #575 )
7 years ago
Hugh Prior
788d5094d8
Update lists-and-keys.md ( #559 )
I think the word "root" is misleading here. For me the root implies a single item, and the <li> here is more of a leaf. I think we can avoid all confusion simply by removing the word.
7 years ago
sventunus
18aee608ec
Update code-splitting.md ( #556 )
Fixed a typo: "A good place **is** to start is with routes" => "A good place to start is with routes"
7 years ago
Dan Abramov
aba7619177
Tweak state FAQ ( #551 )
* Tweak state FAQ
* Update faq-state.md
7 years ago
William Shepherd
8a7e75206b
Fix grammar ( #550 )
7 years ago
Hugh Prior
6e22b51b26
Update faq-state.md ( #549 )
Fix typo.
7 years ago
Joseph Race
794c0e0756
Update code-splitting.md ( #546 )
7 years ago
David DeAngelis
cb0870514b
Update faq-functions.md
found a small syntax error in example
7 years ago
Dan Abramov
3e6aaebbd7
Add a note about disabling extensions when profiling ( #528 )
7 years ago
Ernesto García
9b20285d1d
Update fragments example to use JSX syntax ( #520 )
* Update fragments example to use JSX syntax
* Use more standard JSX notation for fragments
* Bring back arrays-based example
* Remove keys in fragment, not needed for static items
* Add note about fragments syntax existing since v16.2
7 years ago
Daniel Bird
72e7547ef0
Embed examples using gatsby-remark-embed-snippet
7 years ago
Sophie Alpert
b48ecc8b7e
Tweak wording
7 years ago
MICHAEL JACKSON
80773961c9
Small clarification
Fixes #514
7 years ago
Thai Pangsakulyanont
bc83db2fc1
Add a missing ; in `renderTheCat` example ( #515 )
7 years ago
MICHAEL JACKSON
dcd53fd43d
Rework section about using children prop
7 years ago
Alex Krolick
3b908cdcbc
SImplify function-as-child example
7 years ago
Alex Krolick
ac34b9c696
Call out usage of props.children as render prop
7 years ago