Commit Graph

370 Commits

Author SHA1 Message Date
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
Pete Hunt
97ce8bd2ff Merge pull request #1504 from spicyj/flux-621
Start Flux video at 10m21s
2014-05-12 13:44:21 -07:00
Ben Alpert
cde47cf2c7 Add missing emitChange() to Flux docs 2014-05-10 17:50:26 -03:00
Ben Alpert
00e9f6e8d4 Start Flux video at 10m21s 2014-05-09 15:34:12 -03:00
Yuriy Dybskiy
98ff898e08 Update flux-todo-list.md
Fix broken link to todomvc-flux repo

@spicyj cla signed
2014-05-09 11:11:42 -07:00
Daniel Lo Nigro
7b7c236531 Fix minor typo 2014-05-09 10:01:40 -07:00
Brian Reavis
b1bc46bc09 Stylistic changes. 2014-05-08 23:25:10 -07:00
Christopher Chedeau
2d740746a3 Merge pull request #1499 from vjeux/flux
Flux blog post and tutorial
2014-05-08 16:26:43 -07:00
Vjeux
35db119584 Flux blog post and tutorial 2014-05-09 01:22:47 +02:00
Paul O’Shannessy
404286b4a6 Title case on videos page 2014-05-07 11:07:49 -07:00
Brian Reavis
2d15181f6d Use camelCase and declare MUST_USE_ATTRIBUTE. 2014-05-07 10:02:57 -07:00
Brian Reavis
587d462569 Updated documentation. 2014-05-07 00:41:50 -07:00
Niklas Boström
569de8e7f6 Embed video from F8
Edited in githubs inline editor. Not tested!
2014-05-06 15:18:02 +02:00
Isaac Salier-Hellendag
875e7c2d52 Merge pull request #776 from syranide/superkey
Even better normalization of KeyboardEvent + MouseEvent
2014-05-05 16:19:02 -05:00
Paul O’Shannessy
0deb59775e Merge pull request #1468 from dschafer/tutorial
Update jsfiddles in thinking-in-react to remove handleSubmit from forms
2014-05-05 13:10:28 -07:00
Paul O’Shannessy
e7a420e82c Merge pull request #1470 from hendrikswan/master
Link to tagtree 'Thinking in React' video - on master
2014-05-02 15:22:27 -07:00
hendrik swanepoel
f40ada2216 Fixed a couple of issues with link to tagtree.tv video 2014-05-02 21:28:31 +02:00
Andreas Svensson
69c6f91344 Normalize and polyfill KeyboardEvent further, also MouseEvent+TouchEvent
KeyboardEvent now normalizes "charCode", "keyCode", "which" across all browsers
KeyboardEvent has partial "key"-support for KeyDown/KeyUp and full "key"-support for KeyPress.
KeyboardEvent, MouseEvent and TouchEvent now has "getModifierState", polyfill when not implemented.
2014-05-01 16:56:43 +02:00
hendrik swanepoel
00e7f0888f link to tagtree 'Thinking in React' video 2014-05-01 11:30:21 +02:00
dschafer
031d8c442c Update jsfiddles in thinking-in-react to remove onSubmit from forms 2014-04-29 19:53:13 -07:00
Ben Alpert
545ff28d28 Move tooling info to Complementary Tools wiki
I moved the info that was here to the wiki page: https://github.com/facebook/react/wiki/Complementary-Tools; it doesn't need to live in the website any more.
2014-04-28 21:03:19 -03:00
Pete Hunt
bbb9f4118b Update videos.md 2014-04-23 15:45:48 -07:00
Ben Alpert
3ab4c340bb Fix preposition capitalization 2014-04-14 16:28:46 -07:00
Ben Alpert
004db11878 Update refs example code to use onChange
Fixes #1408.

Test Plan: Copy each code snippet into jsbin; type in the text box successfully; click the button and see the input clear (and in the second example, get focused).
2014-04-14 16:23:37 -07:00
Paul O’Shannessy
6f3bde9c85 Merge pull request #1384 from chenglou/render-docs
[Docs] Rendering null/false and getDOMNode
2014-04-14 10:15:14 -07:00
Paul O’Shannessy
e203b54fb7 Merge pull request #1386 from georgesisco/master
In the tutorial, carry ajax error checking from step 13 forward to other ajax steps
2014-04-14 10:14:35 -07:00
Cheng Lou
df9ed7d8ce Merge pull request #1284 from plievone/directives-2-commands
[addons] Renamed update() directives to commands
2014-04-13 14:25:38 -07:00
Cheng Lou
ff6cb41f09 [Docs] new PropType behavior
(Killed the TODOs since they're no longer valid).
2014-04-11 17:40:04 -07:00
georgesisco
3ab1997f61 Update tutorial.md 2014-04-10 14:51:10 -04:00
Cheng Lou
3f257dea2f [Docs] Rendering null/false and getDOMNode. 2014-04-09 19:26:42 -07:00
George A Sisco III
bc9a92097e Carry ajax error checking from step #13 forward to other ajax steps
The following steps also have an ajax function, but the 'error:' param
is gone after #13:
#14
#17
#19
#20
This may be superfluous, but it helped me find an error with something I
was doing - Namely, in my .json file, I had single line javascript
comments ("//") that I copied from the tutorial. I couldn't find the
issue on later steps, but was able to see my issue when the error
handler complained about an unexpected "/" in my file in step #13.
2014-04-09 13:42:13 -04:00
Marcin Kwiatkowski
4d00cfb7ff fix typo in 09.4-test-utils.md 2014-04-09 01:31:02 +01:00
Felix Kling
bf4966f729 Update 05-reusable-components.md
`any` also seems to accept primitive values, not only objects. And since we already have `React.PropType.object`, the description was confusing.
2014-04-08 15:43:24 -07:00
Christopher Chedeau
4ed066b0ce Document multiple ways to insert comments in JSX 2014-04-08 15:24:09 -07:00
Karl Mikkelsen
a8b1b32513 Link to Events from Forms
closes #1372
2014-04-07 17:47:41 -07:00
Paul O’Shannessy
ecee471132 Move complementary tools to wiki for easier management. 2014-04-07 12:56:38 -07:00
Paul O’Shannessy
eb941f6581 Merge pull request #1306 from twobit/master
Add dx and dy attributes for SVG text
2014-04-03 15:05:44 -07:00
Ben Alpert
cb05a30360 Add callback to setProps docs 2014-04-02 15:01:50 -07:00
Stephen Murphy
cddd668586 Merge branch 'master' of github.com:facebook/react 2014-03-30 12:53:26 -07:00
Christopher Chedeau
e7b65b5f8f Merge pull request #1288 from vjeux/server_docs
Add client/server mention in componentDid/WillMount documentation
2014-03-28 23:24:20 -07:00