Chris Sciolla
635dd8c22f
Update 09.1-animation.md
...
The reason I chose to submit this is because it was initially unclear from the docs that the transition group needed to already be mounted in order for it to work properly.
2014-08-19 15:11:07 -04:00
Dmitrii Abramov
8aa01c596b
remove doubled whitespace chars in jsDoc
2014-08-18 14:26:26 -07:00
Michael Chan
29ceb7761c
docs(flux-todo-list): fix TodoStore syntax
...
Add missing semicolon behind `TodoStore#addChangeListener'
2014-08-17 19:37:10 -07:00
Lee Byron
fd1040b663
Merge pull request #1601 from gaearon/apply-component-and-mixin-spec-deterministically
...
Apply component and mixins specs deterministically
2014-08-15 18:08:03 -07:00
Paul O’Shannessy
085c7da4b7
TestUtils docs: isComponentOfType -> isDescriptorOfType
...
Fixes #1946
2014-08-13 19:23:47 -07:00
Paul O’Shannessy
9e9b9577d0
Merge pull request #1832 from rayqian/master
...
Add chinese translation for 02-displaying-data.md
2014-08-13 17:38:44 -07:00
Paul O’Shannessy
40d511ed7c
Merge pull request #1867 from WickyNilliams/patch-1
...
Add note about key prop being excluded by cloneWithProps
2014-08-13 17:36:48 -07:00
Paul O’Shannessy
20ed70077f
Merge pull request #2007 from janhancic/better-docs-for-select-multiple
...
Add a 'note' about passing arrays into the `value` attribute
2014-08-13 17:27:26 -07:00
Paul O’Shannessy
f26c6773b5
Merge pull request #2010 from nw/patch-1
...
Update ref-01-top-level-api.md
2014-08-13 17:26:51 -07:00
Paul O’Shannessy
e0524f61dd
Merge pull request #1952 from slorber/master
...
Update 09.2-form-input-binding-sugar.md -> document checkedLink
2014-08-13 15:32:27 -07:00
Paul O’Shannessy
82a992835c
Use jekyll-redirect-from instead of our other redirect method
2014-08-13 12:38:09 -07:00
Paul O’Shannessy
2865e4a1c8
Set default layout for docs
2014-08-13 11:40:14 -07:00
Andre Z Sanchez
b62f2257eb
Fix typo
2014-08-11 22:57:33 -04:00
Nathan White
dbab451c2b
changed type info. added descriptor to descriptions
2014-08-11 15:44:21 -06:00
Paul O’Shannessy
b6db0d7f92
Remove TodoMVC flux example
...
It lives at https://github.com/facebook/flux/tree/master/examples/flux-todomvc now.
2014-08-11 13:02:12 -07:00
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
Nathan White
5d667e4596
Update ref-01-top-level-api.md
...
Added docs for `React.isValidClass` and `React.isValidComponent`.
Still missing top level api:
* `constructAndRenderComponent`
* `constructAndRenderComponentById`
* `withContext`
2014-08-07 12:09:45 -06:00
Jan Hancic
3c731a2b59
Remove quotes around the value attribute
2014-08-07 09:22:46 +01:00
Jan Hancic
fcd02320c7
Add ={true} so it's aligned with recommended practises
2014-08-07 08:10:55 +01:00
Jan Hancic
471ae3a592
Add a 'note' about passing arrays into the value attribute
...
This is for #1700
2014-08-06 23:45:37 +01: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
Sébastien Lorber
2663d7a4e3
Update 09.2-form-input-binding-sugar.md -> better checkedLink documentation
2014-07-30 11:17:38 +02:00
Sébastien Lorber
0497845ad5
Update 09.2-form-input-binding-sugar.md
...
Add better explanation for 2-way data binding to checkboxes using `checkedLink`. As mentionned here: https://github.com/facebook/react/issues/1930
2014-07-29 16:14:27 +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
WickyNilliams
bd7e840a81
follow docs convention for notes
2014-07-21 17:11:40 +01: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
Nick Williams
f8bcc2e333
Add note about key prop being excluded by cloneWithProps
...
Whilst this is intentional behaviour (see #1274 ), it is not documented anywhere, so it is worth mentioning.
It would also be nice if React issued a warning to console if a cloned component loses its key (as this will silently break reconciliation?)
2014-07-18 16:14:55 +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