jon madison
2d6231f486
corrected highlighted/updated line in tutorial example
11 years ago
Nick Merwin
275cb60829
Update Like button example verbiage
Changes text "You unlike this" to "You liked this". Makes a bit more grammatical sense.
Closes #2146 .
11 years ago
Naman Goel
7476798981
added the missing **
Missed it the last time. Apologies.
11 years ago
Paul O’Shannessy
461174e99f
Fix broken link in animation docs
Missed in #2068
11 years ago
Mike D Pilsbury
4d6c9a06b2
Add support for <dialog> tag's open attribute.
11 years ago
Naman Goel
d4fba696a6
added production example
Addition note: Scribbler.co uses an infinite.js/UITableView like rendering pattern with animations which is only possible because of React.
11 years ago
Julen Ruiz Aizpuru
9da4c206dc
Docs: renamed input's state to `message`
Readers might feel confused with the actual input's `value` attribute.
11 years ago
fisherwebdev
a3960e9fbb
[docs] remove redundant paragraph
11 years ago
fisherwebdev
2f44195095
[docs] fix nits
11 years ago
Michael Randers-Pehrson
83cf623476
Adding `e.preventDefault()` to `handleSubmit`,
Also added plain `return`, updated text.
11 years ago
fisherwebdev
2e5a8f34c5
[docs] Update Flux TodoMVC Tutorial
11 years ago
Michael Randers-Pehrson
65874732b0
Including missing validation check
The validation check was removed from the update to the CommentForm handleSubmit function.
11 years ago
IvanVergiliev
e3366a432f
Add 2048-react to open-source demos
Nothing too complicated, but I think it could be a fun beginner demo.
11 years ago
Chris Sciolla
a825a2678d
Update 09.1-animation.md
11 years ago
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.
11 years ago
Dmitrii Abramov
8aa01c596b
remove doubled whitespace chars in jsDoc
11 years ago
Michael Chan
29ceb7761c
docs(flux-todo-list): fix TodoStore syntax
Add missing semicolon behind `TodoStore#addChangeListener'
11 years ago
Charles Marsh
8c2a734676
Fixed style and comment nits
11 years ago
Charles Marsh
9a59ebf752
Re-add with warning and monitorCodeUse
11 years ago
Charles Marsh
81edd2c527
Deprecate 'return false' in event handlers
11 years ago
Paul O’Shannessy
085c7da4b7
TestUtils docs: isComponentOfType -> isDescriptorOfType
Fixes #1946
11 years ago
Paul O’Shannessy
82a992835c
Use jekyll-redirect-from instead of our other redirect method
11 years ago
Paul O’Shannessy
2865e4a1c8
Set default layout for docs
11 years ago
Mike D Pilsbury
c11ff20556
Add support for <dialog> tag.
fixes #2017
11 years ago
Andre Z Sanchez
b62f2257eb
Fix typo
11 years ago
Nathan White
dbab451c2b
changed type info. added descriptor to descriptions
11 years ago
Paul O’Shannessy
b6db0d7f92
Remove TodoMVC flux example
It lives at https://github.com/facebook/flux/tree/master/examples/flux-todomvc now.
11 years ago
Adam Mark
01de15132f
Copy edit (fix grammar)
11 years ago
Adam Mark
76f14389f6
Close <section> tag in sample markup
11 years ago
Sam Selikoff
2d7ffc16d6
Clarify section introducing callbacks
11 years ago
Sam Selikoff
37d7982057
Clarify section introducing `props`
11 years ago
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`
11 years ago
Jan Hancic
3c731a2b59
Remove quotes around the `value` attribute
11 years ago
Jan Hancic
fcd02320c7
Add ={true} so it's aligned with recommended practises
11 years ago
Jan Hancic
471ae3a592
Add a 'note' about passing arrays into the `value` attribute
This is for #1700
11 years ago
Ben Alpert
bdcb265904
[docs] Add parens to defeat ASI in example
Fixes #1996 .
11 years ago
Ben Alpert
1bf8e83d49
Wording tweaks to reconciliation docs
11 years ago
Julien Bordellier
ccb9bd2ee2
Using the markdown's quote syntax and explaining why use include jQuery
11 years ago
Jim OBrien
489ff2eb38
typo
11 years ago
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
11 years ago
cutbko
88edd9fdf5
Update ref-08-reconciliation.md
11 years ago
Julen Ruiz Aizpuru
49499bbf58
Docs: added note about setState() side-effects
11 years ago
Sébastien Lorber
2663d7a4e3
Update 09.2-form-input-binding-sugar.md -> better checkedLink documentation
11 years ago
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
11 years ago
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).
11 years ago
WickyNilliams
bd7e840a81
follow docs convention for notes
11 years ago
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.
11 years ago
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
11 years ago
Ben Alpert
45d554a8f7
Reword sentence in reconciliation docs
11 years ago
Glen Mailer
c43b179fe0
Note how to access Perf in docs
11 years ago