Dan Abramov
cbfdf2ff4f
Document how to avoid wrapper in ReactTransitionGroup
Thanks to @rayshan for some rewording tips too!
9 years ago
Dan Abramov
4ff97c6082
Fixed paren balance in the doc
9 years ago
Mark Funk
2ecd32cc89
Link to "No Autobinding" section for ES6 classes.
There's a more descriptive section about the lack of Autobinding in ES6 classes and suggestions around it, so this commit adds a link to that section.
9 years ago
Mark Funk
00e1fe2b6a
Update ES6 class documentation with binding perf
Adding a note in the ES6 class documentation about function binding. Recommending that you bind your handlers in the constructor so that they are referentially the same function every time render is invoked (helps with child components that might potentially call shouldComponentUpdate)
9 years ago
sottar
3a5c7c0e13
Translate thinking-in-react.md to Japanese
9 years ago
speedskater
5b6d354230
Updated react conf links
* Added React Conf 2016
* Fixed Links for React Conf 2015
9 years ago
Dan Abramov
0beef5d943
Rename ReactPerf methods to match the upcoming ReactPerf revamp
9 years ago
rgarifullin
8f7edbca43
Add missing semicolon in test-utils part of docs
9 years ago
iamchenxin
106a793baa
[DOCS] Update zh-docs to v15-rc.1 (with #3240c09)
9 years ago
iawia002
a1619c125a
Update 02-displaying-data.zh-CN.md
每三个是子节点 --> 第三个是子节点
9 years ago
iamchenxin
0061c5fe28
[DOCS] Update zh-docs to v15-rc.1 (with #3240c09)
9 years ago
Paul O’Shannessy
5d38c0ecfe
Revert "Merge pull request #5736 from gaearon/document-svg-passthrough"
This reverts commit 713401f2eb4b892f872ec61b15fdb597c4eeaae6, reversing
changes made to 53dabe748c6817cbb7b43f975e24b61331011077.
9 years ago
Jinxiu
d96fa05c6c
Missed parentheses for matchMeida parameter
https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia
9 years ago
Max
89ca749712
Add benchling articles about perf to docs
Temporary solution until new react perf is released.
Ref #6174
9 years ago
Cameron Chamberlain
769a6004ac
Update PureRenderMixin docs, adding ES6 example
9 years ago
Jim
866b2ad510
Fixed typo in reconciliation docs.
9 years ago
Paul O’Shannessy
8aeb39240c
Add redirect layout (again) and use it
9 years ago
Nee
18563080c8
Update 10.2-form-input-binding-sugar.zh-CN.md
translation other English Party to Chinese.
9 years ago
Nathan Smith
0b8c890c00
remove babel-browser link
9 years ago
Miles Johnson
b3e32f5804
Added support for synthetic animation/transition events.
9 years ago
Huang-Wei Chang
24da7a39cf
Clarify a step in the quick start
I propose to add a sentence to indicate the page is ready, and the next step (Separate File) is optional. IMMO, the quick-start guide should be really short so that readers can see the result asap. Furthermore, the "Separate File" might not work for readers using Chrome anyway.
9 years ago
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