Alex Lopatin
3524427e54
Docs: Clarify that React.PropTypes.node accepts fragments
As of #3293 `ReactFragment` counts as a node, but this isn't made clear in the docs.
10 years ago
Andreas Savvides
7ebde90c1f
Include latest version of jQuery in tutorial
Include latest version of jQuery 2.x in tutorial
10 years ago
Andreas
662773a2b4
Minor space change to be in line with coding style everywhere else
10 years ago
Damien Pellier
ff203a3f22
add scoped property to the list of DOM standard properties
10 years ago
Bob Renwick
f75946d91d
adding docs for componentWillAppear and componentDidAppear
10 years ago
Cheng Lou
db33842478
Remove mention from docs
10 years ago
Paul O’Shannessy
959fb008b7
[docs] Videos: use https, right width videos
I also added some <hr>s in there, which helps a little bit with spacing.
10 years ago
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.
10 years ago
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.
10 years ago
Julian Viereck
c72d79879c
Fix small typo
10 years ago
xmo-odoo
8433eb7c7c
Link to inserting raw HTML document
10 years ago
Stefan Dombrowski
eac5bd1499
Fix in docs: getDOMNode --> findDOMNode
10 years ago
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.
10 years ago
Ben Alpert
e60e8db043
with the exception for -> with the exception of
10 years ago
Sebastian Markbage
ea4dd85a7e
ES6 Class Docs
Some minor burried docs.
10 years ago
Jim
d25e5aed00
Added docs about the ref-as-callback.
10 years ago
Jim
135117dd27
Added docs about the first-parameter-is-function version of setState.
10 years ago
Paul O’Shannessy
c0630494d3
[docs] React.cloneElement
10 years ago
Paul O’Shannessy
ab11e54d4c
Add deprecation note for deprecated component APIs
10 years ago
Ben Alpert
3d6af36002
Add docs for createFragment
10 years ago
BinaryMuse
973a7a8eb2
Add onContextMenu to events doc
10 years ago
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
10 years ago
Jim
7114950cd1
Updated docs examples/recommendations to use findDOMNode instead of getDOMNode
10 years ago
Aria Buckles
fa83c48c73
[Docs] Add 'ing' to make "opening" and "closing" line up
Test Plan:
None
10 years ago
brafdlog
203b7fa42d
There was a redundant word in the sentence
10 years ago
Ben Alpert
9cf4a87fff
Add note about enter/leave bubbling
Fixes #2826 .
10 years ago
Daniel Mané
9e77ef78a4
Add mention of go and php server implementations in React tutorial
10 years ago
Bob Ralian
3d9349c653
clarifies forceUpdate method
10 years ago
Toru Kobayashi
906f0bfe62
Fix a doc. cloneWithProps clones a ReactElement.
10 years ago
Stefan Dombrowski
ad7608e46b
Using https for embedded fiddles
Official announcement from jsfiddle:
https://twitter.com/jsfiddle/status/565041134435852289
10 years ago
Alan deLevie
a69a581441
Make tutorial CDN URLs use https
10 years ago
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.
10 years ago
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!
10 years ago
Christopher Chedeau
fb5ed400a7
Tweaks on Advanced Performance
10 years ago
Christopher Chedeau
97e8607897
Advanced Performance Doc
10 years ago
Rick Beerendonk
037b582938
Remove zerowidth space at the beginning of file
10 years ago
Dan Fox
59fa2f44df
Fix markdown parsing error
closes #3075
10 years ago
Henry Zhu
7cfc1de1bb
Add React.js Conf Keynote talk (with playlist)
10 years ago
Cheng Lou
9a21eec36e
[Docs] Add note on classSet deprecation
10 years ago
Vincent Riemer
ce02428d84
Corrected pure-render-mixin documentation
Fixed the PureRenderMixin documentation which was incorrectly importing the base React library instead of ReactWithAddons.
10 years ago
noyobo
d722d9e142
Chinese docs Typesetting beautification & relate links
10 years ago
noyobo
ae604afc54
Chinese docs typo
10 years ago
YouBao Nong
5612f19ab0
sync up Chinese docs links
10 years ago
YouBao Nong
23737c558d
fix next page link typo
下一页链接错误
10 years ago
Preston Parry
809c13e552
Update tutorial.md
10 years ago
G. Kay Lee
e22e3e4fc0
Fix typos
10 years ago
Andrew Cobby
9e2778ccf7
Add autoFocus to supported HTML attributes
It appears to be supported http://jsfiddle.net/9f48wbsa/1/
10 years ago
Jamison Dance
06f7fd7c5d
Fix list formatting in glossary
10 years ago
juan serrano
74f7616a0a
Corrected documentation
10 years ago
Héliton Nordt
711becb883
Fix highlighting
10 years ago