Commit Graph

598 Commits

Author SHA1 Message Date
Brian Vaughn
8e0fc589ab Added react-window to 'Virtualize Long Lists' section 2018-08-09 11:07:18 -07:00
Dan
1c7728241b Add "React for Designers" link 2018-08-04 01:16:54 +01:00
Sophie Alpert
21511bde38 Tweaks to "Before You Use Context" (#1091)
![screenshot of new section](https://user-images.githubusercontent.com/6820/43227544-d9d55496-9013-11e8-8fe3-b16ed96d0070.png)
2018-08-03 13:21:02 +01:00
st-sloth
53e0590805 [accessibility] Minor clarifications (#1100)
* [accessibility] Remove trailing whitespaces

* [accessibility] Minor clarifications

* [accessibility] Minor clarifications (review changes)

* Language
2018-08-03 07:27:44 +02:00
Vasyl Stokolosa
76ef485ef6 Typo "React.createRef()" :) (#1105) 2018-08-02 22:41:03 +01:00
Dan Dascalescu
74f8d1f01b Move rendering BoilingVerdict before the DOM is updated 2018-07-27 18:47:44 -07:00
Dan Dascalescu
562dbd2d22 Fix typo and add BoilingVerdict to input change steps 2018-07-26 23:33:53 -07:00
Dan Abramov
023fb45343 Tweaks 2018-07-25 03:13:43 +02:00
Dan Abramov
7016c4a21d Tweak 2018-07-25 02:31:36 +02:00
Dan Abramov
5028f0874d Add "Before You Use Context" (#1085) 2018-07-25 02:17:15 +02:00
Dmitry Minkovsky
7f1b367eb6 Refs and the DOM: clarify when ref callbacks are invoked (#1069) 2018-07-19 11:14:52 -07:00
Alex Krolick
48cbb02dd2 make all redirect_from's arrays (#1075)
make Gatsby happy again
2018-07-19 10:51:07 -07:00
Matthew Vargeson
c5b0584d03 Add accessibility guidelines link to portals doc (#846)
* Add accessibility guidelines link to portals doc

* Add more detail to portal accessibility note

* Clarify text using suggested content
2018-07-18 20:45:00 -07:00
almero.steyn
3d5965412e [A11Y-docs]: Add section on pointer events with outside click example 2018-07-15 11:53:45 +02:00
Richie
e52e6c6d5a Dynamically append path alias (aaa/bbb.html = aaa/bbb = aaa/bbb/) int… (#783)
* Dynamically append path alias (aaa/bbb.html = aaa/bbb = aaa/bbb/) into redirects during gatsby onCreateNode callback API to avoid 404

* Consider more cases:
(1) markdown without redirects
(2) duplicated permalink for /docs/pure-render-mixin.html, rename the unused one

* Test permalink with ending `.html` rather then containing them
2018-07-13 12:06:26 -07:00
Ivan de la Beldad Fernandez
b044ce5dbb docs: fix minor typo (#1038) 2018-07-06 00:59:31 +01:00
Ideveloper
2bd8ffa429 Fix Issue about addons.md's Wrong links (#1023)
* Edit addons.md's link to right link

* Update addons.md
2018-07-04 12:42:20 +01:00
Andre Wiggins
5775f070e2 Add signature to getSnapshotBeforeUpdate section (#1032)
Add the signature for `getSnapshotBeforeUpdate` to its section, just like all other lifecycle method sections have.
2018-07-03 18:17:29 +01:00
Eslam Gamal Khoga
cf4e7fcff4 Update accessibility.md
removed additional tag's close />
2018-07-02 11:01:51 +02:00
Dan Abramov
50d2a9bfc8 Emphasize a section 2018-06-29 18:13:36 +01:00
Dan Abramov
8695e5a128 Link to homepage more prominently from Getting Started 2018-06-29 17:16:27 +01:00
embs
49053f3705 Fix another typo typo (#1021)
Remove duplicated word.

Related to #1007
2018-06-28 18:30:04 +01:00
Dan Abramov
8f89578d2d Make recommendations clearer 2018-06-28 16:42:02 +01:00
Dan Abramov
fd2185b157 Add "Quickly Try JSX" 2018-06-28 15:28:32 +01:00
Dan
796257b34e Minor tweaks 2018-06-28 02:53:48 +01:00
Dan
eff5afaf3b Less feels 2018-06-28 02:37:56 +01:00
Dan
9ecd614eb1 Sell JSX step better 2018-06-28 02:07:32 +01:00
Jon Kiparsky
ca4bdedbd6 Remove brand name (#1008)
The brand name in the example adds nothing to comprehensibility.
2018-06-27 18:25:43 +01:00
Dan Abramov
b709eb13e8 Wording tweaks 2018-06-27 18:15:43 +01:00
Dan Abramov
2d7c8c41ec Tweak cross-linking 2018-06-27 16:22:37 +01:00
Kristofer Selbekk
5b2eb6e2af Fix a typo typo (#1007) 2018-06-27 13:29:49 +01:00
Alex Krolick
fc3a5d8dcb Link to Parcel in Starter Kits (#991)
<!--

Thank you for the PR! Contributors like you keep React awesome!

Please see the Contribution Guide for guidelines:

https://github.com/reactjs/reactjs.org/blob/master/CONTRIBUTING.md

If your PR references an existing issue, please add the issue number below

-->
2018-06-26 21:33:13 -07:00
Dan Abramov
23e2c59da0 Wording 2018-06-26 19:00:09 +01:00
Dan Abramov
da1b319a04 Typo 2018-06-26 11:38:32 +01:00
Monica Powell
11e1854838 Grammar Update (#998) 2018-06-25 22:39:21 -07:00
Sylvan Mably
eb9e3be4bc Fix typo (#997) 2018-06-25 18:57:12 -07:00
Dan Abramov
10bef30202 Minor tweaks 2018-06-26 02:06:38 +01:00
Dan Abramov
623523131e Rewrite Installation and related docs (#996)
* Rewrite "adding React to existing app"

Fixes #988

* Some copy

* typo

* Update babel instructions

* Update umd link

* Add prod minification section

* Show "button" example in several targets

* wip

* More

* More

* tweak

* yas

* Multi root tip

* moaar

* alot

* Tweak links

* Explain better

* better lead

* tweaks

* tweaks

* wording

* More reassuring tone

* Grammar

* wording

* feedback from readers

* Use id, not class

* More nits

* Re-add a useful section
2018-06-26 01:24:56 +01:00
Dan
a00440d4e7 Properly cross-link tutorial and guide. Explain why. 2018-06-23 03:32:12 +01:00
Dan
db66436112 Make CodePen links more prominent and consistent 2018-06-23 02:10:56 +01:00
Adam Saghy
2ea33ffc3d Update conditional-rendering.md (#990)
`componentWillUpdate` method will be called before the render method so the returning value of the render method does not affect.
2018-06-22 23:38:31 +01:00
Stephen Lau
61a8b62b03 Mention getSnapshotBeforeUpdate should return. (#930)
If getSnapshotBeforeUpdate does not return a snapshot value or null
it will cause a warning.  Document that it should return this value.
2018-06-22 12:08:54 +01:00
Rodrigo Bermúdez Schettino
24f0448d7c Update Ref API in docs (#970)
* Update Ref API in docs

Update to new React.createRef() API in guide "Uncontrolled Components".

* Update Ref API in doc example

Use new Ref API in guide's example.

* Fix syntax error in example

* Update highlighting ranges in docs

After updating to the new createRef API, the highlighting ranges in Uncontrolled Components were wrong.

* Update highlighting ranges in docs example

After updating to the new createRef API, the highlighting ranges in Uncontrolled Components were wrong.

* Update highlighting ranges in docs example

Remove empty line in source code.

* Update uncontrolled-components.md

* Update input-type-file.js
2018-06-22 12:08:03 +01:00
Sophie Alpert
5045e82b2a Clarify class lifetime in class conversion example (#912)
* Clarify class lifetime in class conversion example

* Update state-and-lifecycle.md
2018-06-22 12:07:04 +01:00
Jonathan Berger
c47933a314 Correct typo in FAQ (#985)
Correcting a small typo.
2018-06-22 11:57:48 +01:00
Andy Edwards
af3b37ece3 docs(forwarding-refs.md): add warning to third-party library maintainers (#968)
* docs(forwarding-refs.md): add warning to third-party library maintainers

* Update forwarding-refs.md

* Update forwarding-refs.md

* Update forwarding-refs.md

* tweaks
2018-06-12 03:41:20 +01:00
Alex Krolick
ee650c8b30 Reorganize Hello World Page (#962)
* Reorganize Hello World Page

Move codeblock to the very top and and "following along" heading

* Match tense

* Remove subheading
2018-06-11 18:54:36 +01:00
Dan Abramov
81dc09ede1 Make the reference doc tighter
Now that there are some cross referenced links we can tighten it up.
2018-06-11 03:24:41 +01:00
Dan Abramov
17c50df9d9 Explicitly order Main Concepts (#957) 2018-06-11 02:50:28 +01:00
Dan Abramov
853f3d1945 Quick Start -> Main Concepts (#956) 2018-06-11 02:37:00 +01:00