Christian Alfoni
42a2b28a49
Update flux-todo-list.md
You have to instantiate a Dispatcher to use it, not just grab the prototype or it will fail when trying to grab instance properties like: this.$Dispatcher._callbacks.
10 years ago
XuefengWu
686961b23d
Update getting-started.md
fix grammar
10 years ago
XuefengWu
0695f4158e
Update getting-started.md
merge the warn and explain for the @jsx
10 years ago
Paul O’Shannessy
f54b7aec3f
Reword Component API intro
Fixes #2179
10 years ago
Paul O’Shannessy
d0acf93c3e
Move examples from the website to the wiki.
10 years ago
XuefengWu
b15344de49
add tip for the important jsx convention
I missed the convention and wast hours to figure out what's wrong.
Add this tip in the document for who would miss the importance comment.
10 years ago
Jesse Skinner
1f1071a8c3
Fix inconsistency in mockComponent argument name
The second argument of mockComponent was listed as tagName, but referred to in the description as mockTagName. I changed the first one to mockTagName to be consistent.
10 years ago
Jacob Greenleaf
c4423dce8d
Fix typo in documentation in Flux Todo List
10 years ago
Glen Mailer
f5a4a76780
[docs] Clarify wording on sub-tree reconciliation
The previous wording could be interpreted to mean sub-trees moving from
within one sibling to within another, rather than the shuffling of siblings on
a single level as intended
10 years ago
Ben Foxall
f3fb21afc0
Less -> Fewer
bugs and bytes are countable, so should be fewer
10 years ago
Nick Fitzgerald
8aff7a1630
Explain where to provide the key for dynamic children.
11 years ago
Sheraz
15d206798c
Updated small change with zuggestions from @zpao
10 years ago
Mark Anderson
a7faaa9312
Added extra explanation for require() statements
10 years ago
Mark Hintz
b61aace624
Update ref-03-component-specs.md
Edit the description of componentDidMount() to make clear that the function is called only once during the lifecycle of the component, after only the initial render() call. The description is now similar to that for componentWillMount(). The existing wording does not make it clear that the function is called only after the initial render. (Granted, it is possible to infer this from descriptions of the component lifecycle found elsewhere in the documentation, but I think explicit is better than implicit in this case).
10 years ago
Oliver Zeigermann
c1abc9b8c5
Update 09.5-clone-with-props.md
10 years ago
Simon Welsh
54e88388b1
Correct highlighted block
10 years ago
Rick Beerendonk
affffb40e2
Update video.md with Forward JS 2014 talk
Added "React and Flux: Building Applications with a Unidirectional Data Flow" by Bill Fisher and Jing Chen.
10 years ago
jon madison
2d6231f486
corrected highlighted/updated line in tutorial example
10 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 .
10 years ago
Naman Goel
7476798981
added the missing **
Missed it the last time. Apologies.
10 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