Commit Graph

703 Commits

Author SHA1 Message Date
Andreas Savvides
7ebde90c1f Include latest version of jQuery in tutorial
Include latest version of jQuery 2.x in tutorial
2015-03-25 22:36:27 +00:00
Julen Ruiz Aizpuru
3ebec4b55b Docs: do not render components to document.body
Rendering to `document.body` in the examples is conveniently short, but it can
be misleading at the same time, especially for newcomers.

While it's possible to render React components to `document.body`, any 3rd
party scripts can also mess up with it, and it can have unintended consequences
and be source of difficult-to-trace bugs.
2015-03-23 13:59:24 +01:00
Ben Alpert
9dd9111dd7 Kill React.initializeTouchEvents for good
Now that #1169 is fixed, the only thing this is used for is to determine whether `onTouchTap` causes touch listeners to be added. The only internal uses of TapEventPlugin are where touch events are already initialized (so this doesn't make a difference) and we don't support `onTouchTap` as part of the public API so this should be safe.
2015-03-17 14:12:26 -07:00
Paul O’Shannessy
d6cc34e4bf Merge pull request #3419 from xmo-odoo/patch-1
Link to inserting raw HTML document
2015-03-16 13:22:33 -07:00
Julian Viereck
c72d79879c Fix small typo 2015-03-16 18:27:04 +01:00
xmo-odoo
8433eb7c7c Link to inserting raw HTML document 2015-03-16 10:51:20 +01:00
Stefan Dombrowski
eac5bd1499 Fix in docs: getDOMNode --> findDOMNode 2015-03-12 22:07:03 +01:00
Richard Littauer
5e474eaaef Nominalized 'shallow copy'
I mis-parsed 'shallow copies' as adjective noun, instead of as a compound verb. I've adjusted the text to make it easier to parse on the first read, which should also help ESL learners to be able to parse it easier.
2015-03-11 16:22:24 -07:00
Ben Alpert
e60e8db043 with the exception for -> with the exception of 2015-03-10 14:44:44 -07:00
Sebastian Markbage
ea4dd85a7e ES6 Class Docs
Some minor burried docs.
2015-03-10 14:41:42 -07:00
Paul O’Shannessy
61520bc491 Merge pull request #3363 from zpao/0.13-docs-cloneelement
[docs] React.cloneElement
2015-03-10 13:46:12 -07:00
Jim
7faf10630a Merge pull request #3364 from jsfb/refs-docs
Added docs about the ref-as-callback.
2015-03-10 13:02:18 -07:00
Jim
d25e5aed00 Added docs about the ref-as-callback. 2015-03-10 13:01:07 -07:00
Paul O’Shannessy
b8c7ed89ed Merge pull request #3362 from jsfb/docs-for-setstate
Added docs about the first-parameter-is-function version of setState.
2015-03-10 12:29:25 -07:00
Jim
135117dd27 Added docs about the first-parameter-is-function version of setState. 2015-03-10 11:47:00 -07:00
Paul O’Shannessy
c0630494d3 [docs] React.cloneElement 2015-03-10 11:19:11 -07:00
Paul O’Shannessy
fbb6e531f2 Merge pull request #3360 from zpao/0.13-docs-api-deprecations
Add deprecation note for deprecated component APIs
2015-03-10 11:07:47 -07:00
Paul O’Shannessy
ab11e54d4c Add deprecation note for deprecated component APIs 2015-03-10 10:44:24 -07:00
Paul O’Shannessy
04bb500df0 Merge pull request #2963 from graue/document-shallow-testing
Add documentation for shallow testing
2015-03-10 09:39:47 -07:00
Ben Alpert
3d6af36002 Add docs for createFragment 2015-03-10 09:17:34 -07:00
Jim
c43546b376 Merge pull request #3341 from rickbeerendonk/3338-documentation-issue
Add documentation about JSX and displayName.
2015-03-09 10:35:28 -07:00
BinaryMuse
973a7a8eb2 Add onContextMenu to events doc 2015-03-07 20:22:10 -08:00
Rick Beerendonk
60d197eca3 Add documentation about JSX and displayName.
The section that described how JSX transform handles displayName was lost in commit 9b1ee4de4636fcc9af1cf93099e062a3f6eb96f5

Fixes #3338
2015-03-07 19:01:58 +01:00
Jim
b790477362 Merge pull request #2802 from jsfb/findDOMNode-in-docs
Updated docs examples/recommendations to use findDOMNode instead of getDOMNode
2015-03-05 16:51:13 -08:00
Jim
7114950cd1 Updated docs examples/recommendations to use findDOMNode instead of getDOMNode 2015-03-05 16:42:43 -08:00
Aria Buckles
fa83c48c73 [Docs] Add 'ing' to make "opening" and "closing" line up
Test Plan:
None
2015-03-05 16:25:41 -08:00
brafdlog
203b7fa42d There was a redundant word in the sentence 2015-03-03 22:03:53 +02:00
Ben Alpert
9cf4a87fff Add note about enter/leave bubbling
Fixes #2826.
2015-02-26 16:29:18 -08:00
Ben Alpert
98fed1b0ba Merge pull request #3239 from rralian/update/docs-clarify-forceUpdate
Docs: clarifies forceUpdate method
2015-02-25 17:35:07 -08:00
Daniel Mané
9e77ef78a4 Add mention of go and php server implementations in React tutorial 2015-02-24 15:10:11 -08:00
Bob Ralian
3d9349c653 clarifies forceUpdate method 2015-02-23 10:34:41 -06:00
Paul O’Shannessy
606b7be261 Merge pull request #2994 from chenglou/docs-classset
[Docs] Add note on classSet deprecation
2015-02-20 17:00:36 -08:00
Jim
fefcc0a5c4 Merge pull request #2921 from hanski07/updateTransferringPropsDocs
Update transferring props docs
2015-02-19 17:52:02 -08:00
Toru Kobayashi
906f0bfe62 Fix a doc. cloneWithProps clones a ReactElement. 2015-02-20 10:08:46 +09:00
Stefan Dombrowski
ad7608e46b Using https for embedded fiddles
Official announcement from jsfiddle:
https://twitter.com/jsfiddle/status/565041134435852289
2015-02-18 23:07:48 +01:00
Alan deLevie
a69a581441 Make tutorial CDN URLs use https 2015-02-17 14:34:01 -05:00
Brian Kung
4b16e13212 [Docs] Clarify section on namespaced components
While going through the docs, I wasn't sure if the first example was
something I should do or not. This makes the wording a bit more clear.
2015-02-17 06:40:48 -06:00
Michelle Todd
a753bcc8da [Docs] Reword section on React without JSX
Summary:
This section was confusing. I reworded it from:

"JSX is completely optional. You don't have to use JSX with React.
You can create these trees through `React.createElement`. The first
argument is the tag, pass a properties object as the second
argument and children to the third argument."

to:

"JSX is completely optional; you don't have to use JSX with React.
You can create React elements in plain JavaScript using
`React.createElement`, which takes a tag name or component, a
properties object, and variable number of optional child
arguments."

and additionally added another child element to the example code.

Test Plan:
Read the new paragraph!
2015-02-16 17:12:19 -08:00
Christopher Chedeau
fb5ed400a7 Tweaks on Advanced Performance 2015-02-11 11:14:59 -08:00
Christopher Chedeau
97e8607897 Advanced Performance Doc 2015-02-11 10:53:57 -08:00
Paul O’Shannessy
c3968ae909 Merge pull request #2998 from rickbeerendonk/docs-conferences
Add Conferences section to the Community Resources on the website
2015-02-09 14:32:04 -08:00
Rick Beerendonk
037b582938 Remove zerowidth space at the beginning of file 2015-02-09 22:17:33 +01:00
Paul O’Shannessy
59daa2b7a2 Merge pull request #3082 from hzoo/patch-1
Add React.js Conf Keynote talk (with playlist)
2015-02-09 10:17:37 -08:00
Paul O’Shannessy
3f7113739f Merge pull request #3089 from iamdanfox/fix-markdown-parsing-error-3075
Fix markdown parsing error
2015-02-09 10:12:17 -08:00
Paul O’Shannessy
53ae8e893e Merge pull request #2968 from ClimbsRocks/patch-5
Reordered 'Using Props' before 'Component Properties'
2015-02-09 10:08:44 -08:00
Dan Fox
59fa2f44df Fix markdown parsing error
closes #3075
2015-02-08 11:31:48 +00:00
Paul O’Shannessy
3fc6dad05d Merge pull request #3074 from noyobo/master
fix Chinese docs typos
2015-02-06 17:17:46 -08:00
Henry Zhu
7cfc1de1bb Add React.js Conf Keynote talk (with playlist) 2015-02-06 18:31:00 -05:00
Jim
cd6fec52bf Merge pull request #3078 from vincentriemer/patch-1
Fixed pure-render-mixin documentation
2015-02-06 13:33:06 -08:00
Cheng Lou
9a21eec36e [Docs] Add note on classSet deprecation 2015-02-06 16:25:48 -05:00