Commit Graph

377 Commits

Author SHA1 Message Date
Brian Vaughn
21fa1162b6 Removed StrictMode from side nav 2018-03-16 16:24:45 -07:00
Brian Vaughn
3c75def7e7 Deleted StrictMode and examples/images 2018-03-07 11:42:10 -08:00
Brian Vaughn
9905159321 Merge branch 'master' into update-on-async-rendering 2018-03-07 11:13:03 -08:00
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.
2018-03-07 09:16:53 +01:00
Alex
11834be55e Add temporary link to context RFC slated for 16.3 (#647)
Add temporary link to context RFC slated for 16.3
2018-03-04 09:23:39 -08:00
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.
2018-03-04 09:05:37 -08:00
Swarnava Sengupta
7dcf2f19be Fix a small typo (#662) 2018-03-04 08:09:44 -08:00
Alex
d59c4f9116 Add temporary link to context RFC slated for 16.3
Fixes #646
2018-02-26 11:10:09 -08:00
Benjamim Sonntag
c8161bd9a0 Update reference-react-dom-server.md (#625)
Fixes a small typo in `renderToNodeStream`'s documentation
2018-02-18 01:25:13 +00:00
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.
2018-02-14 14:34:14 -08:00
Brian Vaughn
626ac42195 Moved StrictMode to docs rather than blog post 2018-02-13 10:52:00 -08:00
Sophie Alpert
8bbc69b453 Update context.md
Slightly less judgy with less of a hierarchical vibe.
2018-02-12 19:51:35 -08:00
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
2018-02-12 17:37:09 +00:00
G Akshay
c66011b32d just before sounds better that 'immediately before' (#611) 2018-02-11 19:53:39 +00:00
G Akshay
10c3a91538 Update reference-react-component.md (#609)
`just before` sounds better than `immediately before`.
2018-02-10 21:03:08 +00:00
Stefan Papst
430abc18c3 updated link to 'big picture' 2018-02-08 15:10:15 +01:00
Dan Abramov
3ed5a51eeb Move the section on file inputs to avoid circular learning dep (#588) 2018-02-05 18:01:25 +00:00
Nick
7c76dd505e Fix broken flow link (#585) 2018-02-05 17:33:05 +00:00
Alex
4379eccbce Merge pull request #581 from einomi/patch-1
Remove link
2018-02-04 22:41:30 -08:00
Henrique Sosa
72e8051fa3 Fix misspelling 2018-02-05 02:57:58 -02:00
Dan Abramov
9a953858d6 Add more references to setState batching (#583) 2018-02-04 22:39:30 +00:00
Andrey Nikonov
ecf038e520 Update reference-react-component.md
There is no #createclass anchor on /docs/react-api.html page anymore.
2018-02-04 10:41:31 +03:00
Zeb DeOs
53a600087b Add semicolon for example code style consistency (#575) 2018-02-03 02:53:53 +00:00
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.
2018-02-01 09:08:16 -08:00
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"
2018-01-29 01:10:04 +00:00
Dan Abramov
aba7619177 Tweak state FAQ (#551)
* Tweak state FAQ

* Update faq-state.md
2018-01-24 18:05:24 +00:00
William Shepherd
8a7e75206b Fix grammar (#550) 2018-01-24 09:36:58 -08:00
Hugh Prior
6e22b51b26 Update faq-state.md (#549)
Fix typo.
2018-01-24 09:32:58 -08:00
Joseph Race
794c0e0756 Update code-splitting.md (#546) 2018-01-23 09:36:15 -08:00
David DeAngelis
cb0870514b Update faq-functions.md
found a small syntax error in example
2018-01-17 15:17:56 -05:00
Brian Vaughn
8448de7ed9 Merge pull request #470 from danielsbird/rendering-elements-codepen
Move examples of rendering elements from CodePen into ./examples
2018-01-16 10:15:58 -08:00
Dan Abramov
3e6aaebbd7 Add a note about disabling extensions when profiling (#528) 2018-01-15 23:21:32 +00:00
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
2018-01-14 00:51:35 +00:00
Daniel Bird
72e7547ef0 Embed examples using gatsby-remark-embed-snippet 2018-01-13 13:50:24 -05:00
Sophie Alpert
b48ecc8b7e Tweak wording 2018-01-12 17:10:06 -08:00
MICHAEL JACKSON
80773961c9 Small clarification
Fixes #514
2018-01-12 14:43:43 -08:00
Thai Pangsakulyanont
bc83db2fc1 Add a missing ; in renderTheCat example (#515) 2018-01-12 19:52:05 +00:00
Michael Jackson
6efa02d16c Merge pull request #355 from mjackson/render-props
Add doc about Render Props
2018-01-12 10:15:42 -08:00
MICHAEL JACKSON
dcd53fd43d Rework section about using children prop 2018-01-12 09:58:57 -08:00
Alex Krolick
3b908cdcbc SImplify function-as-child example 2018-01-11 23:56:33 -08:00
Alex Krolick
ac34b9c696 Call out usage of props.children as render prop 2018-01-11 23:44:11 -08:00
Alex Krolick
96d302aef0 Add "Using Props Other Than Render" to Render Props 2018-01-11 23:20:57 -08:00
Alex
581eafc049 Add mini example to top of Render Props 2018-01-11 22:47:38 -08:00
Dennis Dang
1da66cd968 Fix typo 2018-01-11 14:55:40 -08:00
Ian Sutherland
6158ab4666 Corrected yarn link instructions on How to Contribute page. (#511) 2018-01-11 02:25:14 +00:00
Jonathan Pool
fdf409a7d1 Grammatical disambiguation (#504)
Prevents interpretation as “JSX is closer to JavaScript than HTML is”. The latter is obviously true, but the apparent meaning is the former, which is less obvious.
2018-01-10 13:22:23 +00:00
Brian Vaughn
3dca82bfe9 Merge pull request #442 from davidnguyen179/reference-test-renderer/note__react-test-render_react_react-dom
react-test-render/Cannot read property 'ReactCurrentOwner' of undefined
2018-01-09 11:30:54 -08:00
Brian Vaughn
c07c8be506 Formatting nit 2018-01-09 11:29:48 -08:00
Sam
2df0f5af4d Pedantic language change (#500)
* Pedantic language change

This page led to the creation of a bad question on a job interview test, leading someone to believe that functions and objects are primitives. They are not.

https://developer.mozilla.org/en-US/docs/Glossary/Primitive

* Verbiage change
2018-01-08 19:23:54 +00:00
Dan Abramov
800c0079d9 Be more specific about browsers that need polyfills 2018-01-08 14:29:03 +00:00