Dan
70d20c81ff
consistent case
2018-06-23 12:45:05 +01:00
Dan
4ba0ba8526
Formatting nits
2018-06-23 12:36:36 +01:00
Dan
438117a426
Minor edit
2018-06-23 12:29:55 +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
Dan
3d38ca4724
Fix CI
2018-06-23 01:42:26 +01:00
yubo
1fd20eced3
Add React DEV Conf China ( #805 )
...
w3ctech and FEQuan plan to hold the React Conference in Guangzhou, China on August 18.
2018-06-23 01:31:51 +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
Dan Abramov
9c1fb9cbe8
Try using ES5 function in tutorial ( #989 )
2018-06-22 21:37:48 +01:00
Jackie Lang
4d575e7090
Improve tutorial.md's clarity and structure ( #649 )
...
* Improve tutorial.md's clarity and structure
* Fix typos and make additional changes to tutorial.md
* edits
* moar changes
2018-06-22 20:04:09 +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
lintonye
ecb0279553
Add learnreact.design course link and description ( #974 )
2018-06-22 11:57:29 +01:00
Dan Abramov
61f95acdf4
More links to derived state
2018-06-21 02:31:20 +01:00
Dan Abramov
e7023a4c9e
Link to newer blog post from the older one ( #981 )
...
* Link to newer blog post from the older one
* Update 2018-03-27-update-on-async-rendering.md
* Update 2018-03-27-update-on-async-rendering.md
2018-06-21 02:29:40 +01:00
Dan Abramov
de6a4cf384
Update older blog post to point to newer blog post ( #977 )
...
* Update older blog post to point to newer blog post
* Fix URL
2018-06-16 02:18:30 +01:00
Dan Abramov
38c1a9ad7a
React 16.4.1 ( #975 )
2018-06-13 17:58:44 +01:00
Jefferson Ribeiro
5afe18f0d2
Add shopping cart demo added to examples ( #924 )
...
* Shopping cart application
* Typo
* Replaced demo link for Github repository
* tweak wording to kick CI
* Description change to kick CI
2018-06-12 18:54:51 -07: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
balavishnu-vj
9350eb671f
Update 2018-06-07-you-probably-dont-need-derived-state.md ( #958 )
...
Typo: I think it should be props.list instead of props.items.
2018-06-11 21:00:08 +01:00
Kevin Ndung'u Gathuku
5b464a7ba0
Add missing Twitter link ( #966 )
2018-06-11 19:00:23 +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
Dan Abramov
d430480318
Reorder advanced guides by alphabet
...
I think this way it's clearer they're unordered, thus making it clearer Quick Start *is* ordered.
2018-06-11 02:22:51 +01:00
Dan Abramov
f5b284e101
Remove misleading paragraph
...
This was never true
2018-06-11 02:19:02 +01:00
Dan Abramov
c9e99c8ae6
Avoid unnecessary ternary
2018-06-11 02:05:28 +01:00
Dan Abramov
c70187cdbf
Cross-link more articles
2018-06-11 02:01:34 +01:00
Dan Abramov
a788a28708
Avoid ambiguity between elements and components
2018-06-11 00:36:52 +01:00
Alex Krolick
cec61969ea
Fix CI ( #952 )
...
* Checksum against lockfile
* Use Node 8 Docker image
2018-06-10 15:22:09 -07:00
Dan Abramov
3346d710b9
Clarify we are talking about sync calls
2018-06-10 23:03:13 +01:00
Dan Abramov
4550cb0e6a
Massage the section more and add details
2018-06-10 22:53:22 +01:00
Jenny Wong
941c1a4efc
NOtes and ideas for hello-world.md file.
...
- you can _just_ open it in
- It _renders_ a heading saying “Hello, world!” on the page. - you are using the same word as the thing you are describing.
- “A Note on JavaScript” the title doe snot suggest that you need to read it because you are learning about react ,not JS. Something like “React & JavaScript” or something like “Knowledge Level Assumptions”
- “we recommend **refreshing** your JavaScript knowledge so you can follow along more easily.” — refreshing suggest that someone. Already knows JS, so if they don’t know JS they will feel dejected. Try “We highly recommend [going through a Javascript tutorial]() to check your knowledge level.”
- “We also use some of the ES6 syntax” - **We** that suggests its a us vs the user. Instead go for “**The documentation** will use some [ES6 Syntax](LINK TO WHAT IS ES6)”
2018-06-10 22:53:22 +01:00
Dan Abramov
640ac1397b
No "just"
2018-06-10 21:58:13 +01:00
Dan Abramov
f285d002c5
Reduce visual noise in the list
...
It's obvious enough that this is the same method. I don't think repeating its name in the list brings any value, and it puts too much visual emphasis on something we're trying to deemphasize.
2018-06-10 21:51:09 +01:00
Dan Abramov
03c0046f7b
Try to fix iPhone horizontal scroll in Component reference
2018-06-10 21:50:01 +01:00
Dan Abramov
4f01e35b9d
Rewrite some component doc parts
2018-06-10 21:38:44 +01:00
Dan Abramov
6fe2302aed
Don’t make experienced users feel bad
2018-06-10 19:30:53 +01:00
Dan Abramov
7603eb964b
Mark common lifecycles as bold ( #948 )
2018-06-10 19:02:25 +01:00
Dan Abramov
79411aa85b
Reorder and rewrite some parts of lifecycle reference ( #947 )
...
* Reorder and rewrite some parts of lifecycle reference
* Link to the lifecycle diagram
* More recommendations
2018-06-10 18:26:32 +01:00
Dan Abramov
846ab6c383
Clarify it's not a recommended approach
2018-06-10 18:10:37 +01:00
Brian Vaughn
a5f0b2a251
Typo fix
2018-06-08 10:32:45 -04:00
Brian Vaughn
e51668cb51
Merge pull request #941 from bvaughn/typo-fix
...
Fix typo
2018-06-07 23:24:38 -04:00
Brian Vaughn
fc0c2bc154
Fix typo
2018-06-07 23:23:19 -04:00
Brian Vaughn
0cb3144880
Merge pull request #934 from bvaughn/when-to-use-derived-state
...
You Probably Don't Need Derived State
2018-06-07 17:31:46 -04:00
Brian Vaughn
125bd2b52e
Bullet point organization
2018-06-07 17:31:30 -04:00
Brian Vaughn
292f3bc4a0
Two small nits
2018-06-07 17:29:38 -04:00