Commit Graph

1168 Commits

Author SHA1 Message Date
Gajus Kuizinas
6a25717b8a Improve definition of the controlled and uncontrolled input. 2016-02-04 12:02:53 +00:00
Hideo Matsumoto
56f821d420 Add note in "Fetching from the server" section. 2016-02-01 23:19:08 +09:00
Paul O’Shannessy
3413fec4a4 Merge pull request #5923 from puppybits/patch-1
Update 12-context.md
2016-01-28 20:06:09 -08:00
Bobby
29afb7e6e5 Update 12-context.md
Context was missing info on how to update the context after the initial render. Added a simple blurb and an example.

[Docs] 12-context.md code review changes
2016-01-28 16:47:56 -08:00
Paul O’Shannessy
d95278248b Merge pull request #5911 from Mathieuu/patch-1
Fix broken guide example in "Motivation: Separation of Concerns"
2016-01-28 10:22:33 -08:00
Jody McIntyre
5e19c520de Add a link to the list of supported events 2016-01-27 18:09:47 -05:00
Chris Bolin
0a2d3d5f89 Small copy changes to TestUtils and Perf summaries 2016-01-25 19:02:21 -05:00
Mathieu Savy
f7dfdf0438 Fix broken guide example in "Motivation: Separation of Concerns"
The code example in `Motivation: Separation of Concerns` now fetches the `Engineering` facebook page instead of the user `pwh`.

With the current version of the graph api, it is impossible to fetch the user picture from an username. However it is still doable for public pages.
2016-01-24 17:04:17 -08:00
tmysz
ae84f50a25 Fix mistranslation "never write to this.props." 2016-01-22 01:41:39 +09:00
Ken Powers
d71dbb9e98 Clarify stateless function component optimizations.
As discussed on Discord.
2016-01-19 16:46:00 -05:00
iamchenxin
a206ab1a22 update zh-docs14.3 ,fixed confliction 2016-01-14 18:38:07 +08: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
c8e1f01046 Remove references to IE 8 in docs 2016-01-11 23:32:29 -07: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
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
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
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
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
Vitor Balocco
66170a94d5 Improve documentation for using React with Webpack
Fixes #5679
2015-12-17 17:22:56 +01:00
Jim
0b6203c305 Merge pull request #5599 from zramaekers/shallow-compare-docs
Add documentation for shallowCompare addon
2015-12-16 15:34:04 -08:00
Jim
eeaf72f9aa Added post about upgrading your code to avoid isMounted() 2015-12-15 16:25:07 -08:00
Lovisa Svallingson
48143d7b0e Clarify dependency installation
Split browserify and webpack to separate sections.
Remove `babelify` from the webpack section since it's only for browserify
2015-12-14 09:28:20 -07:00
adraeth
493560112a Correct highlight in tutorial7.js snippet 2015-12-13 17:38:30 +01:00
Jim
b5217c2217 Merge pull request #5605 from thekevlau/patch-1
Adding class->className as a JSX gotcha
2015-12-11 12:13:48 -08:00
Kevin Lau
31d07afba6 Finalized wording 2015-12-11 12:05:05 -08:00
Andrew Henderson
6f994a0a09 Helps avoid a common Issue when following tutorial
https://github.com/reactjs/react-tutorial/issues/87
2015-12-10 22:44:36 -08:00
koh-taka
535a7521d7 Fix wrong script name (showdown -> marked)
jp: チュートリアル内のshowdown を marked に修正
2015-12-11 11:23:56 +09:00
Vitor Balocco
4517ae4fde Clarify usage of .propTypes and .defaultProps when using stateless functional components
I've seen some people unaware about the fact that you can still specify `.propTypes` and `.defaultProps` when you are defining a functional component by setting them as properties of the function.
I thought clarifying this in the docs could help!
2015-12-10 23:21:59 +01:00
Kevin Lau
187ec5a68b added nuance about identifiers used in custom elements 2015-12-09 00:33:25 -08:00
Kevin Lau
9582034df7 Adding class->className as a JSX gotcha
It's mentioned as a note in "JSX in Depth" however I think for clarity and ease of look-up, it would be a good idea to also include it in the JSX Gotchas list?
2015-12-04 16:51:38 -08:00
Zach Ramaekers
6f8388f703 adding documentation pages for shallowCompare addon 2015-12-04 08:53:33 -06:00
Jim
94c732fafa Merge pull request #5588 from jimfb/setprops-replaceprops-deprecated
Increase severity of setprops and replaceprops deprecations, since their removal is now imminent.
2015-12-03 10:29:20 -08:00
jim
43128ce233 Increase severity of setprops and replaceprops deprecations, since their removal is now imminent. 2015-12-03 04:08:53 -08:00