Commit Graph

415 Commits

Author SHA1 Message Date
Ben Alpert
5af72f4b72 Add React.Children.count docs 2014-07-16 23:19:45 -07:00
Paul O’Shannessy
dba83c9385 Merge pull request #1818 from chenglou/docs-apply
[Docs] Update addons.update
2014-07-16 14:17:47 -07:00
Paul O’Shannessy
36e2d3c003 Merge pull request #1821 from chenglou/docs-addons-perf
[Docs] Perf tools
2014-07-16 14:17:30 -07:00
Ben Alpert
4088f2449b Reorder reference pages
This order should make more sense; it moves important functions like React.renderComponent up and deprecated/discouraged ones like transferPropsTo and setProps down. No content changes.
2014-07-15 23:03:37 -07:00
Ben Alpert
7fbdfcaada Fix comma splice 2014-07-15 22:34:33 -07:00
Cheng Lou
5e161764ca [Docs] Perf tools
Fixes #1814.
@petehunt @joshduck
The images look blurry (taken on retina then shrank down to 50%...)
2014-07-15 11:17:21 -07:00
Paul O’Shannessy
a84124eb6b Merge pull request #1817 from chenglou/docs-PureRenderMixin
[Docs] Document PureRenderMixin addon
2014-07-15 11:09:16 -07:00
Ben Alpert
0737160d6f Add note about higher/lower-level transition APIs 2014-07-14 21:41:07 -07:00
Cheng Lou
e183af7e9c [Docs] Update addons.update
Fixes #1815.
Add the new `$apply` command, plus a few examples.

@petehunt
2014-07-14 17:59:22 -07:00
Ben Alpert
9065f0d8b3 Merge pull request #1813 from baddox/patch-2
Verb agreement grammar fix
2014-07-14 17:08:43 -07:00
Ben Alpert
45c4a4c4a0 Merge pull request #1812 from baddox/patch-1
Add possessive to fix grammar
2014-07-14 17:07:10 -07:00
Cheng Lou
581877e346 [Docs] Document PureRenderMixin addon
Fixes #1816
2014-07-12 14:56:43 -07:00
Paul O’Shannessy
b44d2ae79f Simplify shouldComponentUpdate example [skip ci] 2014-07-11 15:32:48 -07:00
Ben Alpert
b6aa3a88c2 Rewrap tags/attributes lists 2014-07-11 15:23:51 -07:00
Ben Alpert
6e28a33788 Tweak wording a bit on renderComponent note 2014-07-11 14:50:46 -07:00
Ben Alpert
6bfdf6b6a6 Merge pull request #1799 from julen/patch-1
Added note about `renderComponent()` requirement
2014-07-11 14:48:37 -07:00
Ben Alpert
712860e251 Fix up getDefaultProps docs 2014-07-11 14:26:42 -07:00
Thomas Shaddox
4fbbf02b88 Verb agreement grammar fix 2014-07-11 02:57:21 -07:00
Thomas Shaddox
07a0e65ec2 Add possessive to fix grammar 2014-07-11 02:52:17 -07:00
Julen Ruiz Aizpuru
eaaeec4b9c Docs: added note about renderComponent() requirement 2014-07-11 08:37:44 +02:00
Ben Alpert
9ba8b98a5e tutorial: Fetch data in componentDidMount instead
In a world where this component was server-rendered, we wouldn't want to call the data-fetching code there so it makes more sense to have it in componentDidMount.
2014-07-10 22:33:09 -07:00
Paul O’Shannessy
93749173a9 Update supported elements and properties [skip ci] 2014-07-10 20:04:37 -07:00
Paul O’Shannessy
748e7d3e93 Update polyfills list in docs [skip ci]
Fixes #1744
2014-07-10 17:14:25 -07:00
Ben Alpert
a3ddb16832 Clarify when getDefaultProps is called
Fixes #1778.
2014-07-02 14:06:48 -07:00
Cheng Lou
40181a0166 [Docs] Fix tutorial line highlights, revert ajax in cb 2014-06-30 01:01:48 -07:00
Cheng Lou
1c50b1dfbb [Docs] Put tutorial up-to-date with the code 2014-06-29 21:46:16 -07:00
Cheng Lou
0e1afc738b [Docs] Render null returns noscript now
Following #1495.
2014-06-23 13:52:09 -07:00
Stefan Dombrowski
a7e44ca707 Fix example for animation
* Highlight the correct lines
* Add missing text to button
* Remove unnecessary div
2014-06-22 18:11:51 +02:00
Brandon Bloom
f8439b0e6c Add support for SVG ellipse elements.
Closes #1675
2014-06-20 11:29:19 -04:00
Paul O’Shannessy
9ba13e3e52 Merge pull request #1244 from rayqian/master
add chinese translation support
2014-06-19 11:18:11 -07:00
Ben Alpert
43ecc6a7f0 Clarify refs and setState callback documentation 2014-06-17 23:20:04 -07:00
Mathieu M-Gosselin
7c277b1f8c Added example of objectOf usage in documentation. 2014-06-17 23:43:25 -04:00
Ben Alpert
707c2e40bb Fix tagtree.tv link
Fixes #1697.
2014-06-16 13:56:36 -07:00
Kyle Mathews
28586493bc typo 2014-06-12 16:27:40 -07:00
Ben Alpert
6169bf33de [docs] Point to renderComponent over setProps 2014-06-08 13:04:40 -07:00
Kunal Mehta
8ed8c4059c Reference Jest in TestUtils documentation. 2014-05-28 23:51:22 -07:00
Ben Alpert
cea4a1e4c6 [docs] Fix grammar 2014-05-28 23:31:02 -07:00
Ben Alpert
2c02b6cac7 Fix tutorial to have exact translation of example
Fixes #903.
2014-05-28 10:29:34 -07:00
Gilbert
39fa3ffe39 Fix typo in Flux TodoMVC Tutorial
A sentence says "only handles one actionType" when the example code instead handles two.
2014-05-25 00:21:31 -05:00
Ben Alpert
6b348e4188 Run all tests, fix indentation 2014-05-23 23:03:13 -07:00
Ben Alpert
aa2b2d6558 Merge pull request #1556 from joshma/flux-dispatcher-docs
Update Flux Dispatcher.dispatch and waitFor examples
2014-05-23 23:01:25 -07:00
Joshua Ma
68a800ff90 Fix doc typo and remove underscore from local var 2014-05-23 12:34:40 -07:00
Alexander Solovyov
2b32c2b618 better talk in russian 2014-05-21 11:52:24 +03:00
Ben Alpert
e00d25c592 Mention PropTypes in top-level API
cf. #449
2014-05-18 00:15:35 -07:00
Ben Alpert
0fdf67d922 Be more specific with createClass, renderComponent
Closes #371.
2014-05-18 00:15:35 -07:00
Ben Alpert
0fc0faa5f6 Tweak getting started wording 2014-05-18 00:15:35 -07:00
Joshua Ma
aa15a2c6c8 Update Flux Dispatcher.dispatch and waitFor examples
The previous examples didn't properly work when 1) a Store callback does
waitFor on Stores that haven't been reached yet and 2) a Store callback
waits on another Store that is already waiting.

The updated example uses constructs Promises up front and then
asynchronously resolves them.
2014-05-17 21:17:08 -07:00
Dmitry Mazuro
9d05706737 Update Jasmine link 2014-05-18 04:30:02 +03:00
Paul O’Shannessy
ac727ba71f Merge pull request #1491 from naturalatlas/itemscope
Added support for itemscope, itemtype, itemprop attributes.
2014-05-15 14:48:51 -07:00
Ben Alpert
4c73aad3cc Update Simulate docs to reflect reality
cf. #1532, #1445.
2014-05-14 21:39:00 -07:00