Commit Graph

500 Commits

Author SHA1 Message Date
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
Alex Krolick
672853159a Merge pull request #723 from chaficnajjar/patch-1
Fix typo in integrating-with-other-libraries.md
2018-03-28 10:03:44 -07:00
Dan Abramov
e2a63bbf6b 20,000 => 50,000 2018-03-28 15:13:28 +01:00
Chafic Najjar
36e5fe3aab s/Mozilla Developer Network/MDN Web Docs (#728)
"Mozilla Developer Network" was recently renamed to "MDN Web Docs". This name change is mentioned in the description of https://github.com/mdn/: "Data and tools related to MDN Web Docs (formerly Mozilla Developer Network, formerly Mozilla Developer Center...)".
2018-03-28 13:25:59 +01:00
Chafic Najjar
ae1d8e78cd Fix typo in integrating-with-other-libraries.md 2018-03-28 11:46:17 +03:00
Chafic Najjar
45b5a20395 Fix mistake in integrating-with-other-libraries.md
The word "applications" is plural so it should be referred to with "them" instead of "it".
2018-03-28 11:03:24 +03:00
Brian Vaughn
b7b97c0ea4 Merge branch 'master' into 16.3-release-blog-post 2018-03-27 14:34:51 -07:00
William Lim (林良)
185080ec34 Update faq-build.md 2018-03-27 11:23:35 +08:00
Alex Krolick
43b21efad1 Merge pull request #710 from chaficnajjar/patch-1
Fix grammar mistake in higher-order-components.md
2018-03-26 17:33:30 -06:00