Commit Graph

1214 Commits

Author SHA1 Message Date
Jim
e2e36cfbfe Document legacyness of the return value of ReactDOM.render() 2016-04-06 16:30:25 -07:00
Michael Terry
ceec4829b7 Fix briefly confusing typo
There are two examples of a text input with initial value  of "Hello!" on this page, a controlled and an uncontrolled. The explanation for the uncontrolled version mistakenly says it works much like the earlier "uncontrolled" example, but the earlier example was the controlled version.
2016-04-06 15:57:48 -07:00
Dan Abramov
71ec42921a Clarify that ReactPerf.getLastMeasurements() is now opaque 2016-04-04 16:29:53 +01:00
Dan Abramov
2d56ee4b57 Merge pull request #5731 from MatthewHerbst/docs-arrayof-custom-validator
Documentation for arrayOf custom item validator
2016-04-02 14:12:23 +01:00
Matthew Herbst
5693f30959 Added new documentation showing use of a custom validator for arrayOf or objectOf, specifically how the method signature for such a validator differs from the customProp validator method signature. Made minor edits to error message for customProp example to match error messages found in src. 2016-04-02 19:28:25 +08:00
Jim
dad1d98b32 Merge pull request #6367 from sottar/translate-thinking-in-react.md-to-Japanese
Translate thinking-in-react.md to Japanese
2016-03-30 20:52:08 -07:00
Dan Abramov
10c3aca26e Merge pull request #6363 from facebook/gaearon-patch-1
Document how to avoid wrapper in ReactTransitionGroup
2016-03-30 01:17:48 +01:00
Dan Abramov
cbfdf2ff4f Document how to avoid wrapper in ReactTransitionGroup
Thanks to @rayshan for some rewording tips too!
2016-03-30 01:16:37 +01:00
Dan Abramov
4ff97c6082 Fixed paren balance in the doc 2016-03-29 21:30:49 +01:00
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.
2016-03-29 13:19:38 -07:00
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)
2016-03-29 12:51:57 -07:00
sottar
3a5c7c0e13 Translate thinking-in-react.md to Japanese 2016-03-29 21:02:58 +09:00
speedskater
5b6d354230 Updated react conf links
* Added React Conf 2016
* Fixed Links for React Conf 2015
2016-03-24 08:11:35 +01:00
Jim
69640ba17c Merge pull request #6195 from mxstbr/perf-links
Add benchling engineering articles about perf to docs
2016-03-23 16:47:42 -07:00
Jim
a96fa2399d Merge pull request #6281 from rgarifullin/microfix_docs
Microfix docs
2016-03-19 11:24:27 -07:00
Dan Abramov
0beef5d943 Rename ReactPerf methods to match the upcoming ReactPerf revamp 2016-03-17 20:18:42 +00:00
rgarifullin
8f7edbca43 Add missing semicolon in test-utils part of docs 2016-03-17 22:51:11 +03:00
Jim
ac31a54ebb Merge pull request #6260 from iawia002/master
Update 02-displaying-data.zh-CN.md
2016-03-15 03:32:15 -07:00
iamchenxin
106a793baa [DOCS] Update zh-docs to v15-rc.1 (with #3240c09) 2016-03-15 09:42:29 +00:00
iawia002
a1619c125a Update 02-displaying-data.zh-CN.md
每三个是子节点 --> 第三个是子节点
2016-03-14 09:44:52 +08:00
iamchenxin
0061c5fe28 [DOCS] Update zh-docs to v15-rc.1 (with #3240c09) 2016-03-13 04:24:00 +00:00
Paul O’Shannessy
5d38c0ecfe Revert "Merge pull request #5736 from gaearon/document-svg-passthrough"
This reverts commit 713401f2eb4b892f872ec61b15fdb597c4eeaae6, reversing
changes made to 53dabe748c6817cbb7b43f975e24b61331011077.
2016-03-11 11:08:56 -08:00
Jinxiu
d96fa05c6c Missed parentheses for matchMeida parameter
https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia
2016-03-08 11:23:18 +08:00
Max
89ca749712 Add benchling articles about perf to docs
Temporary solution until new react perf is released.

Ref #6174
2016-03-05 20:23:44 +01:00
Jim
938edafb13 Merge pull request #6180 from camjc/master
Update PureRenderMixin docs, adding ES6 example
2016-03-04 16:06:31 -08:00
Cameron Chamberlain
769a6004ac Update PureRenderMixin docs, adding ES6 example 2016-03-05 11:04:14 +11:00
Jim
866b2ad510 Fixed typo in reconciliation docs. 2016-03-04 10:01:35 -08:00
Paul O’Shannessy
8aeb39240c Add redirect layout (again) and use it 2016-02-29 16:48:09 -08:00
Paul O’Shannessy
97618f3d5a Merge pull request #6140 from NogsMPLS/removeBabelBrowser
[Docs] Remove babel-browser link
2016-02-29 10:03:21 -08:00
Nee
18563080c8 Update 10.2-form-input-binding-sugar.zh-CN.md
translation other English Party to Chinese.
2016-02-29 17:28:47 +08:00
Nathan Smith
0b8c890c00 remove babel-browser link 2016-02-28 18:03:05 -06:00
Paul O’Shannessy
849bf84091 Merge pull request #6005 from milesj/synthetic-transition
Added support for synthetic animation/transition events.
2016-02-28 11:09:30 -08:00
Miles Johnson
b3e32f5804 Added support for synthetic animation/transition events. 2016-02-25 23:52:32 -08:00
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.
2016-02-25 13:17:07 -08:00
David Percy
1f3eb46452 Fix inverted definition of Controlled component 2016-02-22 18:45:36 -05:00
Jim
3f1208560a Merge pull request #6085 from srph/patch-1
Add ReactLink deprecation notice
2016-02-22 14:49:01 -08:00
Kier Borromeo
9ad8ff671a Add deprecation notice. 2016-02-23 01:24:23 +08:00
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
2016-02-23 00:05:26 +09:00
Paul O’Shannessy
7633f52215 [docs] Use consistent formatting for headers 2016-02-18 11:53:47 -08:00
jim
d52b6f27bc Clearify callback text in the tutorial 2016-02-17 16:30:11 -08:00
Jim
37f5d6848e Merge pull request #6039 from mxstbr/convert-docs-to-stateless
Update documentation to stateless components
2016-02-16 12:25:39 -08:00
Max
6b0c74db9f Update jQuery and marked versions in tutorial 2016-02-16 12:07:03 -08:00
liudongsheng
dec5f9153c Fix typo in Chinese tutorial 2016-02-16 18:24:07 +08:00
Max
f31c84e765 Update documentation to stateless components
Ref #5949 @jimfb
2016-02-15 10:24:04 -08:00
Paul O’Shannessy
022226cff7 Merge pull request #5909 from rajatsehgal/patch-1
Use const instead of var (ES6 best practices)
2016-02-10 13:32:21 -08:00
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
Rajat Sehgal
8a03d1988d Use const instead of var (ES6 best practices) 2016-01-29 00:47:43 -05: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