Commit Graph

1839 Commits

Author SHA1 Message Date
Nate Lee
f603cb710b Fixup missing semi-colon
an inconsistency with a missing semi-colon on a variable
2016-01-19 21:35:10 -08:00
Ken Powers
d71dbb9e98 Clarify stateless function component optimizations.
As discussed on Discord.
2016-01-19 16:46:00 -05:00
Simen Bekkhus
3b4b99710f Fix example from #5870 to avoid double rendering 2016-01-17 23:25:29 +01:00
Simen Bekkhus
2f2f289815 Remove the recommendation to use isMounted from beginner docs 2016-01-17 20:53:20 +01:00
iamchenxin
a206ab1a22 update zh-docs14.3 ,fixed confliction 2016-01-14 18:38:07 +08:00
David Granado
3d9eb35931 Added additional detail to "props-in-getInitialState" anti-pattern doc
While seemingly self-explanatory, this clarifies the reasons props usage in getInitialState might be considered an antipattern.
2016-01-13 23:22:52 -06:00
Paul O’Shannessy
f068da678c Merge pull request #5735 from cody/refs
[docs] Small fixes to "more about refs"
2016-01-12 13:02:27 -08:00
Stefan Dombrowski
9ca5408aaa [docs] Small fixes to "more about refs"
* Add a null check to "A Complete Example".
* Fix outdated comment. (Found by @mjomble)
* Replace short dash - with longer dash –.
* Remove backticks from state, because it is not code.
2016-01-12 19:07:35 +01:00
Paul O’Shannessy
0898f440a9 Merge pull request #5732 from iamchenxin/en-docs
[docs] deleting some unecessary newline
2016-01-12 09:57:32 -08:00
Ben Alpert
579f6f9ad5 Merge pull request #5834 from spicyj/no-ie8
blog post: Discontinuing IE 8 Support in React DOM
2016-01-12 10:27:46 -07:00
Ben Alpert
91375bb28d blog post: Discontinuing IE 8 Support in React DOM 2016-01-12 10:27:30 -07:00
Ben Alpert
c8e1f01046 Remove references to IE 8 in docs 2016-01-11 23:32:29 -07:00
Deniss Jacenko
2363d5f076 Fixed typo in shouldComponentUpdate.png
Reconciiation -> Reconciliation
2016-01-11 17:29:40 -05:00
Paul O’Shannessy
0798e6415e Merge pull request #5686 from vitorbal/master
Improve documentation for using React with Webpack
2016-01-11 12:25:26 -08:00
Paul O’Shannessy
636920037d Merge pull request #5814 from zpao/docs-update-attrs-0.14.6
[docs] Updated supported attrs
2016-01-11 10:37:33 -08:00
Scott Feeney
2464d81705 [docs] remove unnecessary findDOMNode from example
This call is not needed anymore due to https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#dom-node-refs
2016-01-08 17:19:28 -08:00
Paul O’Shannessy
193eac23eb [docs] Updated supported attrs 2016-01-08 17:17:59 -08:00
Zhangjd
9592b7d37c Update thinking-in-react.zh-CN.md 2016-01-08 17:58:23 +08:00
Jim
13d9b7d56c Merge pull request #5790 from jimfb/componentWillReceiveProps-blogPost
Blog post explains to verify prop mutations in componentWillReceiveProps
2016-01-07 16:21:03 -08:00
Paul O’Shannessy
cbeea98140 [docs] Bigger jsfiddle embeds 2016-01-07 11:44:25 -08:00
jim
80a7f07a7b Blog post explains to verify prop mutations in componentWillReceiveProps 2016-01-07 11:11:54 -08:00
Paul O’Shannessy
6f0ea0e2fb Update website for 0.14.6
(cherry picked from commit d5bf8c553f6a5e0674fc49a2279051cb267f1825)
2016-01-07 10:11:21 -08:00
Gavin McQuistin
78a1d5f03a Fix typo in ref-08-reconciliation.md 2016-01-07 14:40:44 +00:00
Jim
7cd91e2925 Fix wording to make it more clear that checkbox (input) supports defaultChecked
Fix some confusion about why `input` would support `defaultChecked` (it's because you can have an input of type checkbox).  This has come up a couple of times (https://github.com/facebook/react/pull/5633, https://github.com/facebook/react/pull/5774) but both those PRs were wrong and it was just easier to fix it myself.
2016-01-04 13:19:22 -08:00
Yuichi Hagio
f501508014 Update 10.4-test-utils.md
Added `var renderer = ReactTestUtils.createRenderer();` (Line 235) to clarify where `renderer` (Line 236) comes from.
2016-01-01 23:15:37 -05:00
Paul O’Shannessy
c87776dba6 Merge pull request #5748 from rickbeerendonk/year-agnostic-copyright
Year-agnostic copyright message, like React Native uses, to prevent the need for yearly changes.
2015-12-29 23:24:24 -08:00
Ben Alpert
40744ad296 Website for 0.14.5
(cherry picked from commit fb6b3b05f41d02734c055681130503fd60c5c6d7)
2015-12-29 14:43:30 -08:00
Ben Alpert
78bf05ea73 0.14.4 blog post 2015-12-29 14:19:18 -08:00
Ben Alpert
0da5e3bb82 update website for 0.14.4
(cherry picked from commit c8398491d85c284858499e1ddaa2e7748c8bed1c)
2015-12-29 14:11:45 -08:00
Rick Beerendonk
c120193eca Year-agnostic copyright message, like React Native uses, to prevent the need for yearly changes. 2015-12-29 20:20:32 +01:00
Dan Abramov
9fd28a2126 Document changes in #5714 2015-12-25 18:51:09 +00:00
iamchenxin
44b52dfe1d deleting some unecessary newline 2015-12-24 14:57:30 +08:00
iamchenxin
a79666a4a4 update zh-docs (v0.14.3+) 2015-12-24 13:57:07 +08:00
Paul O’Shannessy
b8078db623 Merge pull request #5716 from jwworth/pull-request-1450816256
Fix typos in posts
2015-12-23 11:50:08 -08:00
Jake Worth
84fbd6a9d3 Fix typos in posts 2015-12-23 07:47:17 -05:00
dortonway
c824f8aaa2 Fix misunderstanding in tutorial 2015-12-23 03:01:02 +03:00
Paul O’Shannessy
e454bb23ed Merge pull request #5711 from iamchenxin/docs122215
[docs] Update zh-docs with 7e2a7f0
2015-12-22 14:10:41 -08:00
iamchenxin
2877e4305e Update zh-docs with 7e2a7f0 2015-12-23 00:54:48 +08:00
Paul O’Shannessy
fa3067460b [docs] fixup other broken youtube-nocookie uses 2015-12-22 00:54:04 -08:00
Jim
d775cc5171 Merge pull request #5706 from kchia/patch-3
Capitalizes first letter of first word in the Step 1 instruction
2015-12-21 17:26:10 -08:00
Hou Chia
1f0797eeb6 Corrects grammatical errors 2015-12-21 15:03:09 -08:00
Hou Chia
b12b05b9da Capitalizes first letter of first word in the Step 1 instruction
This proposed change makes the documentation formatting more consistent.
2015-12-21 14:51:10 -08:00
Jim
3bcba0f9c8 Merge pull request #5699 from jwworth/pull-request-1450702663
Fix typo (duplicate word)
2015-12-21 12:55:55 -08:00
Dan Abramov
d60da2e7e2 Merge pull request #5695 from gaearon/patch-2
Fix children to be a prop in the blog post example
2015-12-21 20:04:52 +00:00
Cesar William Alvarenga
432eb4ba41 Fix typo
Fix the conference talk youtube url.
2015-12-21 16:02:53 -02:00
Jake Worth
ffd7f9eb1b Fix typo 2015-12-21 06:57:52 -06:00
Daniel Lo Nigro
5efd66527c Remove smart quotes from code snippet
"Smart" quotes aren't actually very smart.
2015-12-21 15:53:30 +11:00
Dan Abramov
f11568f034 Fix minor typos in the blog post 2015-12-18 23:24:07 +00:00
Dan Abramov
eeeba7e55d Fix children to be a prop in the blog post example 2015-12-18 21:32:32 +00:00
Dan Abramov
1873b269e4 Added post about components, elements, and instances 2015-12-18 20:22:24 +00:00