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
Brian Vaughn
201fcadfa7
Added React.forwardRef to API and docs
2018-03-16 09:30:07 -07:00
Brian Vaughn
a937c46e02
Typo fixes
2018-03-15 10:05:02 -07:00
Brian Vaughn
2f97f485ce
Fixed docs
2018-03-14 18:01:20 -07:00
Alex Krolick
e5bf5945b3
Unnest callback ref example code
...
https://github.com/facebook/react/pull/12375#issuecomment-373199666
2018-03-14 17:56:07 -07:00
Brian Vaughn
12d7c16cf2
Updated createRef 'value' attributes to 'current'
2018-03-14 09:07:35 -07:00
Alex Krolick
7ff3c4e9cc
let -> const
2018-03-13 23:25:30 -07:00
Alex Krolick
7afc1d4398
Merge pull request #686 from EarthSchlange/patch-a-little-more-concise-657
...
Adds Ternary Operator to Make Example Concise Issue #657
2018-03-13 23:22:01 -07:00
Alex Krolick
b4e9e0fff0
Merge pull request #683 from raunofreiberg/patch-1
...
[docs] add reference to the explanation of capitalizing components
2018-03-13 22:39:14 -07:00
Alex Krolick
a2e445b85b
Prettier
2018-03-13 22:19:00 -07:00
Michael H
d1e8b526ae
Adds Ternary Operator to Make Example Concise Issue #657
2018-03-13 22:06:46 -07:00
Alex Krolick
d9e7b42527
Update note label
2018-03-13 22:00:21 -07:00
Alex Krolick
c111dca48d
Merge pull request #675 from nhducit/patch-2
...
Update Reasonml community link
2018-03-13 21:28:40 -07:00
Alex Krolick
cea23868e4
Merge pull request #677 from reactjs/non-compliant-native
...
Mention non-compliant implementations of Map/Set in Environment Requirements
2018-03-13 21:23:40 -07:00
Rauno Freiberg
3788f5c2cf
[docs] add reference to the explanation of capitalizing components
2018-03-13 17:37:05 +02:00
Chafic Najjar
032edd2c3c
Change "header" to "heading" in hello-world.html
...
h1-h6 elements are called "headings", not "headers" (source: https://www.w3.org/TR/html52/sections.html#headings-and-sections ).
2018-03-13 14:27:23 +02:00
Brandon Dail
0e02416549
Mention non-compliant implementations of Map/Set
2018-03-12 19:23:01 -07:00
nhducit
0ed89a57d1
Update Reasonml community link
2018-03-12 21:50:47 +07:00
Brian Vaughn
fecb153c89
Merge pull request #1 from trueadm/create-ref
...
Merge createRef docs into 16.3 release blog
2018-03-07 11:37:46 -08:00
Brian Vaughn
c7a61e6aba
Imported StrictMode docs (and examples) from PR #596
2018-03-07 11:33:19 -08:00
Brian Vaughn
f6e5d655dd
Fixed off-by-one line highlights.
2018-03-07 10:38:17 -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
Dominic Gannaway
3f304b9221
Merge pull request #4 from alexkrolick/create-ref-patch4
...
Misc fixes
2018-03-06 13:57:01 -08:00
Alex Krolick
566406e717
Add docs for new Context API (R16.3)
2018-03-06 01:07:14 -08:00
Alex Krolick
9b869fa73f
Update leading sentence
2018-03-06 01:02:05 -08:00
Alex Krolick
b1adba0a38
Recommend old API when applicable
2018-03-06 00:59:50 -08:00
Alex Krolick
04c7f16ef2
Wording
2018-03-06 00:56:26 -08:00
Alex Krolick
4b939d2448
~~All things considered~~
2018-03-06 00:55:22 -08:00
Alex Krolick
962ef9a567
Highlight deprecation notice
2018-03-06 00:50:44 -08:00
Alex Krolick
96b10a73ff
Grammar
2018-03-06 00:46:36 -08:00
Alex Krolick
96fe82c734
Declare setRef method outside render
2018-03-06 00:43:56 -08:00
Alex
8075ce2db7
Make the callback example more similar to the new API
2018-03-06 00:30:51 -08: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
7b02740afe
Create "Accessing refs" section above specific examples
2018-03-03 18:33:43 -08:00
Alex
0e7243f7fb
Merge intro paragraphs
2018-03-03 18:12:00 -08:00
Alex
6627687b0b
Describe what a ref is at the top of the doc
2018-03-03 18:05:41 -08:00
Dominic Gannaway
9bc1932688
updated line numbers
2018-03-03 17:25:02 -08:00
Dominic Gannaway
b049931a65
revised content as per PR feedback
2018-03-03 17:19:42 -08:00
Alex
d59c4f9116
Add temporary link to context RFC slated for 16.3
...
Fixes #646
2018-02-26 11:10:09 -08:00
Dominic Gannaway
ee78358939
address feedback
2018-02-22 20:54:52 +00:00