David Percy
1f3eb46452
Fix inverted definition of Controlled component
9 years ago
Kier Borromeo
9ad8ff671a
Add deprecation notice.
9 years ago
nakazye
eb01b78e55
Replace the code sample in all the languages.
Replace the code sample in all the languages.
But I leave below sample code because of wording relation.
* tutorial6:see 25ef456
* from tutorial16:see 3812b95
9 years ago
Paul O’Shannessy
7633f52215
[docs] Use consistent formatting for headers
9 years ago
jim
d52b6f27bc
Clearify callback text in the tutorial
9 years ago
Max
6b0c74db9f
Update jQuery and marked versions in tutorial
9 years ago
liudongsheng
dec5f9153c
Fix typo in Chinese tutorial
9 years ago
Max
f31c84e765
Update documentation to stateless components
Ref #5949 @jimfb
9 years ago
Gajus Kuizinas
6a25717b8a
Improve definition of the controlled and uncontrolled input.
10 years ago
Hideo Matsumoto
56f821d420
Add note in "Fetching from the server" section.
9 years ago
Rajat Sehgal
8a03d1988d
Use const instead of var (ES6 best practices)
9 years ago
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
9 years ago
Jody McIntyre
5e19c520de
Add a link to the list of supported events
9 years ago
Chris Bolin
0a2d3d5f89
Small copy changes to TestUtils and Perf summaries
9 years ago
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.
9 years ago
tmysz
ae84f50a25
Fix mistranslation "never write to this.props."
9 years ago
Ken Powers
d71dbb9e98
Clarify stateless function component optimizations.
As discussed on Discord.
9 years ago
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.
9 years ago
Ben Alpert
c8e1f01046
Remove references to IE 8 in docs
9 years ago
Paul O’Shannessy
193eac23eb
[docs] Updated supported attrs
9 years ago
Zhangjd
9592b7d37c
Update thinking-in-react.zh-CN.md
9 years ago
Paul O’Shannessy
cbeea98140
[docs] Bigger jsfiddle embeds
9 years ago
jim
80a7f07a7b
Blog post explains to verify prop mutations in componentWillReceiveProps
9 years ago
Gavin McQuistin
78a1d5f03a
Fix typo in ref-08-reconciliation.md
9 years ago
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.
9 years ago
Yuichi Hagio
f501508014
Update 10.4-test-utils.md
Added `var renderer = ReactTestUtils.createRenderer();` (Line 235) to clarify where `renderer` (Line 236) comes from.
9 years ago
Dan Abramov
9fd28a2126
Document changes in #5714
9 years ago
iamchenxin
44b52dfe1d
deleting some unecessary newline
9 years ago
iamchenxin
a79666a4a4
update zh-docs (v0.14.3+)
9 years ago
dortonway
c824f8aaa2
Fix misunderstanding in tutorial
9 years ago
iamchenxin
2877e4305e
Update zh-docs with 7e2a7f0
9 years ago
Paul O’Shannessy
fa3067460b
[docs] fixup other broken youtube-nocookie uses
9 years ago
Hou Chia
1f0797eeb6
Corrects grammatical errors
9 years ago
Hou Chia
b12b05b9da
Capitalizes first letter of first word in the Step 1 instruction
This proposed change makes the documentation formatting more consistent.
9 years ago
Vitor Balocco
66170a94d5
Improve documentation for using React with Webpack
Fixes #5679
9 years ago
Jim
eeaf72f9aa
Added post about upgrading your code to avoid isMounted()
9 years ago
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
9 years ago
adraeth
493560112a
Correct highlight in tutorial7.js snippet
9 years ago
Kevin Lau
31d07afba6
Finalized wording
9 years ago
Andrew Henderson
6f994a0a09
Helps avoid a common Issue when following tutorial
https://github.com/reactjs/react-tutorial/issues/87
9 years ago
koh-taka
535a7521d7
Fix wrong script name (showdown -> marked)
jp: チュートリアル内のshowdown を marked に修正
9 years ago
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!
9 years ago
Kevin Lau
187ec5a68b
added nuance about identifiers used in custom elements
9 years ago
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?
9 years ago
Zach Ramaekers
6f8388f703
adding documentation pages for shallowCompare addon
9 years ago
jim
43128ce233
Increase severity of setprops and replaceprops deprecations, since their removal is now imminent.
9 years ago
Peter Newnham
461807c5fd
Rename minlength to minLength in the tags and attributes documentation page
9 years ago
zwhitchcox
926f17219c
Update ref-10-glossary.md
9 years ago
Iurii Kucherov
edb5c824f3
Update 08.1-more-about-refs.md
9 years ago
xxin
fc5bd6b06f
add marked source in tutorial doc
update wording of later section
no first, no next
more on wording
9 years ago