Adam Mark
01de15132f
Copy edit (fix grammar)
2014-08-11 12:19:08 -04:00
Adam Mark
76f14389f6
Close <section> tag in sample markup
2014-08-11 12:13:04 -04:00
Sam Selikoff
2d7ffc16d6
Clarify section introducing callbacks
2014-08-10 16:47:06 -04:00
Sam Selikoff
37d7982057
Clarify section introducing props
2014-08-09 19:24:40 -04:00
Cheng Lou
bbc1e42190
Merge pull request #1974 from jstoja/jquery-tutorial
...
jQuery note in tutorial
2014-08-05 22:10:58 -07:00
Ben Alpert
bdcb265904
[docs] Add parens to defeat ASI in example
...
Fixes #1996 .
2014-08-04 21:48:24 -07:00
Ben Alpert
1bf8e83d49
Wording tweaks to reconciliation docs
2014-08-04 08:36:49 -07:00
Ben Alpert
5b4da65b70
Merge pull request #1972 from cutbko/patch-1
...
Update ref-08-reconciliation.md
2014-08-04 08:35:22 -07:00
Julien Bordellier
ccb9bd2ee2
Using the markdown's quote syntax and explaining why use include jQuery
2014-08-04 10:42:55 +02:00
Jim OBrien
489ff2eb38
typo
2014-08-02 22:04:37 -07:00
Julien Bordellier
eb1e6ebf49
Adding a note just below the jQuery inclusion in the tutorial to inform that jQuery is not mandatory.
...
It's linked with #603
2014-08-02 11:32:31 +02:00
cutbko
88edd9fdf5
Update ref-08-reconciliation.md
2014-08-02 02:59:16 +03:00
Julen Ruiz Aizpuru
49499bbf58
Docs: added note about setState() side-effects
2014-07-31 09:31:01 +02:00
David Hu
565aac5abe
Clarify animating one or zero items in docs
...
When I first read these docs, it was not immediately clear to me that I could
use `React.addons.CSSTransitionGroup` to animate a single item coming into view,
or an item replacing an item already there. This was partly due to the example
which rendered a list of items.
This PR adds a blurb about being able to use
`React.addons.CSSTransitionGroup` with one or zero items, provides a code
example, and adds a note blockquote that a `key` attribute must always be
provided on each child of `React.addons.CSSTransitionGroup`. The latter point
was not immediately obvious from the original `TodoList` code example, since it
renders a list which would normally require `key` attributes anyway.
Test Plan:
- Refreshed `http://localhost:4000/react/docs/animation.html `, saw that the
docs additions rendered correctly.
- Example code not tested (it was extracted from working code).
2014-07-27 00:26:17 -07:00
Paul O’Shannessy
49316c9f86
Merge pull request #1892 from thauburger/patch-1
...
Remove _addPromise from Dispatcher code example
2014-07-21 15:55:41 -07:00
Cheng Lou
95a4832df7
Merge pull request #1882 from glenjamin/patch-1
...
Note how to access Perf in docs
2014-07-20 11:45:24 -07:00
Cheng Lou
d7051f9157
[Docs] Add recent addons to addons.html; tweak wording
...
Add PureRenderMixin and Perf to this page. Also, I think it's better if the link titles reflect the name used by these addons.
2014-07-20 00:59:19 -07:00
Tom Hauburger
e03305da6e
Remove _addPromise from Dispatcher code example
...
`_addPromise` is not used in the provided Dispatcher example, nor does it exist in Dispatcher.js found here: https://github.com/facebook/react/blob/master/examples/todomvc-flux/js/dispatcher/Dispatcher.js
2014-07-19 19:52:33 -07:00
Ben Alpert
45d554a8f7
Reword sentence in reconciliation docs
2014-07-19 14:44:16 -07:00
Glen Mailer
c43b179fe0
Note how to access Perf in docs
2014-07-19 16:14:27 +01:00
Ben Alpert
ab95bebaa3
Fix appearance of video thumbnail
2014-07-17 15:19:58 -07:00
Ben Alpert
29894d2557
Merge pull request #1835 from amm385/patch-1
...
Update videos.md
2014-07-17 15:15:11 -07:00
Ben Alpert
f93d477419
Performance boost in some cases
2014-07-17 13:43:43 -07:00
Ben Alpert
381d461953
Remove stale deprecation note from unmounting docs
2014-07-16 23:22:54 -07:00
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
Areeb Malik
4ed020201f
Update videos.md
...
reordering to spot #4
2014-07-14 17:31:56 -07:00
Areeb Malik
8abb619d62
Update videos.md
...
Adding video for my recent talk in London about using React in large scale applications
2014-07-14 17:16:44 -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