Commit Graph
704 Commits
Author SHA1 Message Date
Paul O’Shannessy 45fdb4ba79 Merge pull request #3487 from zpao/doc/video
[docs] Videos: use https, right width videos
2015-03-24 14:18:36 -07:00
Paul O’Shannessy 21bb7582c0 Merge pull request #3491 from bobbyrenwick/transition-group-appear-docs
adding docs for componentWillAppear and componentDidAppear
2015-03-24 14:05:11 -07:00
Bob Renwick 3b33ead6ac adding docs for componentWillAppear and componentDidAppear 2015-03-24 01:41:04 +00:00
Cheng Lou 9df173113b Remove mention from docs 2015-03-23 20:13:24 -04:00
Paul O’Shannessy 21221e0376 [docs] Videos: use https, right width videos
I also added some <hr>s in there, which helps a little bit with spacing.
2015-03-23 11:38:10 -07:00
Julen Ruiz Aizpuru d83596620f 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 9c4c2f58ea 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 4c9a07aad4 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 c6108afdc7 Fix small typo 2015-03-16 18:27:04 +01:00
xmo-odoo f0c7b0c8ed Link to inserting raw HTML document 2015-03-16 10:51:20 +01:00
Stefan Dombrowski 84e6a392a3 Fix in docs: getDOMNode --> findDOMNode 2015-03-12 22:07:03 +01:00
Richard Littauer 00e89454ec 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 df18770a0c with the exception for -> with the exception of 2015-03-10 14:44:44 -07:00
Sebastian Markbage efebdb2925 ES6 Class Docs
Some minor burried docs.
2015-03-10 14:41:42 -07:00
Paul O’Shannessy deeb55b6e7 Merge pull request #3363 from zpao/0.13-docs-cloneelement
[docs] React.cloneElement
2015-03-10 13:46:12 -07:00
Jim 565e2ecbac Merge pull request #3364 from jsfb/refs-docs
Added docs about the ref-as-callback.
2015-03-10 13:02:18 -07:00
Jim f3811e68fa Added docs about the ref-as-callback. 2015-03-10 13:01:07 -07:00
Paul O’Shannessy 62d5d646db 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 7569e810e7 Added docs about the first-parameter-is-function version of setState. 2015-03-10 11:47:00 -07:00
Paul O’Shannessy 45cc5006d7 [docs] React.cloneElement 2015-03-10 11:19:11 -07:00
Paul O’Shannessy ee019d6cc5 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 b038943653 Add deprecation note for deprecated component APIs 2015-03-10 10:44:24 -07:00
Paul O’Shannessy f41904cf99 Merge pull request #2963 from graue/document-shallow-testing
Add documentation for shallow testing
2015-03-10 09:39:47 -07:00
Ben Alpert b7732ba7c0 Add docs for createFragment 2015-03-10 09:17:34 -07:00
Jim ccb5ccd5a0 Merge pull request #3341 from rickbeerendonk/3338-documentation-issue
Add documentation about JSX and displayName.
2015-03-09 10:35:28 -07:00
BinaryMuse 1aa9580484 Add onContextMenu to events doc 2015-03-07 20:22:10 -08:00
Rick Beerendonk 2184162e38 Add documentation about JSX and displayName.
The section that described how JSX transform handles displayName was lost in commit 9b1ee4de46

Fixes #3338
2015-03-07 19:01:58 +01:00
Jim c7c2e05c33 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 030fc752ba Updated docs examples/recommendations to use findDOMNode instead of getDOMNode 2015-03-05 16:42:43 -08:00
Aria Buckles 7eb6f68e7c [Docs] Add 'ing' to make "opening" and "closing" line up
Test Plan:
None
2015-03-05 16:25:41 -08:00
brafdlog 457c8e397d There was a redundant word in the sentence 2015-03-03 22:03:53 +02:00
Ben Alpert de1f8682d5 Add note about enter/leave bubbling
Fixes #2826.
2015-02-26 16:29:18 -08:00
Ben Alpert 618bbdc531 Merge pull request #3239 from rralian/update/docs-clarify-forceUpdate
Docs: clarifies forceUpdate method
2015-02-25 17:35:07 -08:00
Daniel Mané a7ae40e90d Add mention of go and php server implementations in React tutorial 2015-02-24 15:10:11 -08:00
Bob Ralian 8d29520dc7 clarifies forceUpdate method 2015-02-23 10:34:41 -06:00
Paul O’Shannessy 5ab7fdecfe Merge pull request #2994 from chenglou/docs-classset
[Docs] Add note on classSet deprecation
2015-02-20 17:00:36 -08:00
Jim 8326a9f11e Merge pull request #2921 from hanski07/updateTransferringPropsDocs
Update transferring props docs
2015-02-19 17:52:02 -08:00
Toru Kobayashi 60e96edce2 Fix a doc. cloneWithProps clones a ReactElement. 2015-02-20 10:08:46 +09:00
Stefan Dombrowski 8ba3ba49d2 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 4980bcb0f3 Make tutorial CDN URLs use https 2015-02-17 14:34:01 -05:00
Brian Kung 26e0b1a298 [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 17f2c26139 [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 83e4409a72 Tweaks on Advanced Performance 2015-02-11 11:14:59 -08:00
Christopher Chedeau ab512af57f Advanced Performance Doc 2015-02-11 10:53:57 -08:00
Paul O’Shannessy 1455001caa 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 1b86246d64 Remove zerowidth space at the beginning of file 2015-02-09 22:17:33 +01:00
Paul O’Shannessy 44634c062a 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 358e70cedd 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 cb833710af Merge pull request #2968 from ClimbsRocks/patch-5
Reordered 'Using Props' before 'Component Properties'
2015-02-09 10:08:44 -08:00
Dan Fox 462ab93d83 Fix markdown parsing error
closes #3075
2015-02-08 11:31:48 +00:00