Commit Graph

459 Commits

Author SHA1 Message Date
Brian Vaughn
57eb7cc3f3 Tweaked message about what goes into state 2018-03-29 08:41:49 -07: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
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
Chafic Najjar
fff4ba35a8 s/each are/each is (#713)
"Each" here is singular so the verb that follows it must also be singular (i.e. "is" not "are"). See:
 
- https://english.stackexchange.com/questions/24846/how-does-each-change-are-to-is
- https://english.stackexchange.com/questions/12387/each-with-plural-or-singular-verb
2018-03-26 19:34:12 +01:00
Chafic Najjar
7072a011c6 Remove redundant "instead" in render-props.html (#712) 2018-03-26 18:15:46 +01:00
Chafic Najjar
858d2886f9 s/function components/functional components (#711)
A stateless React component is referred to as a "functional component" throughout the documentation, not a "function component".
2018-03-26 12:00:57 +01:00
Chafic Najjar
d1d228099d Fix grammar mistake in higher-order-components.md
The word "logic" here is singular so it should be referred to with "it" instead of "them".
2018-03-26 11:45:22 +03:00
Brian Vaughn
bd06bbc1a7 Added context HOC example to reference 2018-03-24 09:30:27 -07:00
Yangshun Tay
c743dc39be Fix typo in reconciliation docs regarding uncontrolled inputs (#705) 2018-03-24 14:13:03 +00:00
David Guan
11c7124888 Update the minimal React fiddle resource links in "How to Contribute" (#701)
* Update the minimal React fiddle resource links

* Update how-to-contribute.md
2018-03-24 02:23:54 +00:00
Brian Vaughn
587ad93751 Merge pull request #5 from alexkrolick/16.3-release-blog-post
Context updates
2018-03-23 14:09:36 -07:00
Alex Krolick
349446d8a7 Add caveats section 2018-03-23 13:51:07 -07:00
Brian Vaughn
7ac0712ed8 Updated 16.3 blog post to account for getSnapshotBeforeUpdate lifecycle 2018-03-23 12:42:57 -07:00
Alex Krolick
c9d50e3aba Remove lib link 2018-03-23 11:49:31 -07:00
Alex Krolick
9e4442a5ad typo 2018-03-23 11:28:16 -07:00
Alex Krolick
fe84e096dc Explain why you need forwardRef 2018-03-23 11:25:41 -07:00
Alex Krolick
509b126510 Explain context in lifecycle a bit more 2018-03-23 11:23:22 -07:00
Alex Krolick
e6898245d9 Add notes about composing multiple contexts 2018-03-23 11:13:25 -07:00
Alex Krolick
d58c892169 + "same algo" 2018-03-23 11:07:53 -07:00
Alex Krolick
1ead0605c2 17 -> future version 2018-03-23 11:04:29 -07:00
Brian Vaughn
b25276a80e Updated forward-refs example to use class component 2018-03-23 09:23:04 -07:00
Brian Vaughn
f5d51393f5 Formatted a Note 2018-03-23 09:08:05 -07:00
G Akshay
66287e122b Remove trailing comma 2018-03-23 12:36:32 +05:30
Alex Krolick
ccc1f26b60 Replace "deprecated" with "legacy" for now 2018-03-22 22:41:30 -07:00
Alex Krolick
f588bd61e1 Update "legacy" wording 2018-03-22 22:38:37 -07:00
Alex Krolick
4e1282edac Add to "when to use context" 2018-03-22 22:36:16 -07:00
Alex Krolick
6eb29a18f5 Combine basic examples 2018-03-22 22:22:36 -07:00
Alex Krolick
da091e6723 Add note about how changes are determined 2018-03-22 22:16:08 -07:00
Alex Krolick
7b5764fed5 Add ref forwarding, lifecycle examples 2018-03-22 21:15:40 -07:00
Alex Krolick
fec6d6c141 Add mutliple contexts example 2018-03-22 21:01:59 -07:00
Alex Krolick
53d604fd3a ~deprecated~ legacy 2018-03-22 20:58:50 -07:00
Alex Krolick
e9ae68f55b remove confusing {} 2018-03-22 20:58:22 -07:00
Brian Vaughn
dbce488bb7 Merge pull request #3 from alexkrolick/new-context-api
New context api
2018-03-21 21:23:02 -07:00
Alex Krolick
6aa199516d Add solution to motivation problem 2018-03-21 10:04:11 -07:00
Alex Krolick
291b2fdeb8 Wording tweaks 2018-03-21 10:03:08 -07:00
Alex Krolick
808e5bddaf Rephrase and reorganize
- Move Motivation to top @bvaughn
- Copy in some Motivation text from the RFC for the intro para
- Update examples
  - Remove state from simple example
  - Remove "random color" example;
  just toggle a theme variable instead
- Update highlights
2018-03-21 01:28:01 -07:00
Alex Krolick
fe3d0a449d Typo 2018-03-20 18:29:38 -07:00
Alex Krolick
a5022da882 Add in-page TOC
Also reduce spacing between ul/li tags
2018-03-20 18:15:23 -07:00
Alex Krolick
0780f7252e Reorganize examples & legacy docs 2018-03-20 18:14:16 -07:00
Brian Vaughn
29d6592630 Update React.Component reference to show deprecations and new lifecycles 2018-03-20 13:27:50 -07:00
Dan Abramov
2ead10e6a3 Update nav 2018-03-19 19:50:04 +00:00
Brian Vaughn
5d5a5d2635 StrictMode title => Strict Mode 2018-03-19 07:32:04 -07:00
Brian Vaughn
fe033f675d Added StrictMode to docs sidenav 2018-03-16 16:24:22 -07:00