Commit Graph

508 Commits

Author SHA1 Message Date
Almero Steyn
cd4bc8b341 Merge pull request #797 from jlr7245/jlr7245-add-chromevox
add chromevox to a11y documentation
2018-04-23 07:36:26 +02:00
Michael Li
ed255e604b Fix grammar 2018-04-22 00:37:19 -04:00
J Silverstein
380225e65e add chromevox to a11y documentation 2018-04-20 13:51:46 -04:00
John
a4aa51035a docs(error-boundaries):fix react blog link (#817) 2018-04-17 18:20:30 +01:00
John
233d74e790 docs(error-boundaries):remove react beta reference (#815) 2018-04-17 16:59:05 +01:00
Marc Bouchard
5593059434 docs(refs-and-the-dom): typo in CustomTextInput (#813)
Correct a typo in the render method comments for the "CustomTextInput" component of the "Adding a Ref to a DOM Element" example.  The first line of the comments reads "tell React that we want the associate the <input> ref".  The word "the" should be "to" resulting in the comment "tell React that we want to associate the <input> ref".
2018-04-17 02:37:06 +01:00
Dan Abramov
04124cc053 Promote ref forwarding in "DOM and Refs" (#802) 2018-04-13 18:17:11 +01:00
Lucas Duailibe
dab9b8b2fd Add 'visual components' use case for forwarding refs (#798)
* Add 'visual components' use case for forwarding refs

* Rearrange "forwarding refs" to focus on simple use case

* Minor wording nits to 2018-03-29-react-v-16-3.md

* Minor wording nits to forwarding-refs.md

* Add more info to the forwardRef reference doc

* Minor wording nits to reference-react.md
2018-04-13 17:23:19 +01:00
Brian Vaughn
d453c2c8fb Merge pull request #767 from koba04/customizing-display-name-ref-forwarding
Add a section "Customizing Name in DevTools" in Forwarding Refs
2018-04-11 08:17:28 -07:00
Brian Vaughn
e26547bfc6 Wording nit 2018-04-11 08:16:05 -07:00
Toru Kobayashi
f450adbdec Add a section "Displaying a custom name in DevTools" 2018-04-11 11:56:17 +09:00
Alex Krolick
d7f675d418 "efficient" is vague 2018-04-10 16:29:30 -07:00
Justin Francos
827ade1906 fixed 2 cases of "it's" where it should be "its" (#782)
Its = it + possessive
It's = it is
2018-04-09 11:20:06 -07:00
tjallingt
6521a654cb Added updating nested context default value example (#780)
* added context default value example

* Implement suggested change

* noop function as default value to createContext
2018-04-09 11:12:02 -07:00
tjallingt
e4941f6440 Added example for updating nested context consumer (#776)
* Added an example showing how to update the context from inside a (deeply) nested component

* Wrap comments

* Wrap comments

* Tweak wording

* Prettier

* Prettier

* Typo: "funtion" -> "function"
2018-04-06 18:49:55 -07:00
Dan Abramov
1466232fbf Tweak context 2018-04-06 16:19:11 +01:00
Alex Krolick
6c22a4345b Clarify when Consumers get the default value (#770)
* Clarify when Consumers get the default value

* Change wording
2018-04-06 15:14:46 +01:00
Rauno Freiberg
4f5d4b08cb nit: minor reordering of words (#772) 2018-04-06 15:05:07 +01:00
Alex Krolick
9c9cee0b08 Merge pull request #771 from codecrutch/fix-createref-example
Move constructor out of render
2018-04-05 11:24:51 -07:00
Sean Snyder
e1689b0f20 Move constructor out of render 2018-04-05 14:16:00 -04:00
Kent C. Dodds
17f2a6f9d0 Update addons-test-utils.md 2018-04-05 12:11:54 -06:00
Kent C. Dodds
9c39cb117f add reference to react-testing-library
Because it will help engineers write better tests with react.
2018-04-05 10:09:59 -06:00
Alex Krolick
17efddc63d Merge pull request #756 from raunofreiberg/createref-docs
Add createRef to top level API section
2018-04-03 10:16:54 -07:00
Alex Krolick
861544b16c Move createRef above forwardRef 2018-04-03 10:16:19 -07:00
Alex Krolick
1dccf07a89 ~the~
fixes #763
2018-04-03 10:13:42 -07:00
Dan Abramov
cf7329d6bd Tweak wording 2018-04-03 17:00:53 +01:00
rk162
1f21aaabb2 Update introducing-jsx.md (#761) 2018-04-03 15:00:29 +01:00
Rauno
3709c8e4ef Add link to refs-and-the-dom in description 2018-04-03 01:32:51 +03:00
Rauno
9948cc94e3 Add createRef to top level API section 2018-04-02 22:20:22 +03:00
chucksellick
dbe5b49bbf Fix a very small typo (#754)
"potential" -> "potentially"
2018-04-02 18:23:30 +01:00
Cristian Garabagiu
82a402168d Fixed broken URL (#750) 2018-04-01 13:34:58 +01:00
Asher Michael
c1c9714041 Update context.md (#751)
Corrected a grammar error in one of the notes section.
2018-04-01 13:34:24 +01:00
chucksellick
abd3af9a3d Recommend getDerivedStateFromProps (#747)
Fix a couple of paragraphs that recommended UNSAFE_componentWillReceiveProps
where it would now be more correct to recommend getDerivedStateFromProps.
2018-03-31 19:41:01 +01:00
Almero Steyn
a5a622e2c4 a11y-doc: Adjust Focus Control to new 16.3 refs + link fixes. (#742)
* a11y-doc: Adjust Focus Control to new 16.3 refs + link fixes.

* Update accessibility.md
2018-03-30 16:51:42 +01:00
Shovon Hasan
62638c8b2d Fix broken link in UNSFE_componentWillReceiveProps docs. (#744) 2018-03-30 15:53:44 +01:00
Dan Abramov
2bd8eda1fc Update refs-and-the-dom.md 2018-03-30 15:44:14 +01:00
Tatyana Tsvetkova
72fd7ff75a Update accessibility.md (#708)
Fix for broken links to W3C
2018-03-30 15:09:02 +01:00
Alex Krolick
e8646074ee Absolute link 2018-03-29 18:23:11 -07:00
Michael Jackson
425043533f Merge pull request #700 from billyjanitsch/clarify-render-prop
Clarify PureComponent render prop caveat
2018-03-29 14:44:01 -07:00
Brian Vaughn
b618684fe2 Merge pull request #587 from bvaughn/16.3-release-blog-post
16.3 release blog draft
2018-03-29 13:16:15 -07:00
Brian Vaughn
aa9810f4fd Fixed some links and improved a recommendation 2018-03-29 12:59:26 -07:00
Brian Vaughn
ac1d767bd3 Fixed link 2018-03-29 12:51:14 -07:00
Brian Vaughn
3a36a402a5 Revert "Added inline child function caveat to Context docs"
This reverts commit 691cd4577c.
2018-03-29 09:24:43 -07:00
Brian Vaughn
691cd4577c Added inline child function caveat to Context docs 2018-03-29 09:15:30 -07:00
Brian Vaughn
28b2b762ab Tweaked state-and-lifecycle wording more 2018-03-29 09:13:36 -07:00
Brian Vaughn
57eb7cc3f3 Tweaked message about what goes into state 2018-03-29 08:41:49 -07:00
Alex Krolick
eb60d5a887 Merge pull request #714 from wlwl2/patch-1
Update faq-build.md
2018-03-28 17:22:46 -07:00
William Lim (林良)
8c797096e7 Update faq-build.md 2018-03-29 08:08:51 +08:00
Brian Vaughn
a29098e958 Merge branch 'master' into 16.3-release-blog-post 2018-03-28 11:00:55 -07:00
Alex Krolick
3a2ad77032 Merge pull request #722 from chaficnajjar/patch-1
Fix mistake in integrating-with-other-libraries.md
2018-03-28 10:04:19 -07:00