Harry Moreno
b2bb80d24b
Added note for proper example display
jsfiddles weren't showing up for me. Upon further investigation I found that changing to http fixes the embedding.
10 years ago
Alexander Tseung
52dc9aec01
Update tutorial.md for grammatical changes
Update tutorial.md to improve grammatical parallelism in features list. Also added periods to follow first item's syntax.
BEFORE: "Live updates: as other users comment we'll pop them into the comment view in real time"
AFTER: "Live updates: other users' comments are popped into the comment view in real time."
BEFORE: "Markdown formatting: users can use Markdown to format their text"
AFTER: "Markdown formatting: users can use Markdown to format their text."
10 years ago
Aaron Franks
9c918ebe36
Docs: ReactComponent -> ReactClass in a few places
10 years ago
Cam Song
639355ab35
Sync up previous Chinese documents and several minor updates on formats.
10 years ago
Cam Song
b8e33ad818
Add Chinese translation of interactivity-and-dynamic-uis
10 years ago
Bruno Škvorc
ff521a97b8
Update 02-displaying-data.md
Typo fix
10 years ago
Cam Song
c8f4ce051d
Add Chinese translation of jsx-gotchas
10 years ago
Cam Song
54e0e9cdad
Add Chinese translation of js-spread
10 years ago
Cam Song
4c42d3f40e
Add Chinese translation of jsx-in-depth
10 years ago
Tim Schaub
0625baaf00
Add missing verb
This adds a missing verb in JSX-in-depth doc.
10 years ago
Aaron Franks
5f88afbb74
Add top-level API docs for React.createFactory.
10 years ago
Aaron Franks
9c3fd71b52
Add type signature info to top-level API docs.
10 years ago
cookfront
83d5a4514d
The same problem in issue #2648
10 years ago
Benjamin Keen
dbb62039e3
Update 10.6-update.md
Spelling fix.
10 years ago
Jason Webster
a4b866027d
Add additional supported methods to event documentation
`isPropagationStopped` and `isDefaultPrevented` methods do in fact exist on `SyntheticEvent`
10 years ago
张敏
e693d3f321
In `Transferring Props` guide, `Manual Transfer` section will lead an error
```c
var FancyCheckbox = React.createClass({
render: function() {
var fancyClass = this.props.checked ? 'FancyChecked' : 'FancyUnchecked';
return (
<div className={fancyClass} onClick={this.props.onClick}>
{this.props.children}
</div>
);
}
});
React.render(
<FancyCheckbox checked={true} onClick={console.log}>
Hello world!
</FancyCheckbox>,
document.body
);
```
When click `Hello world!` will lead a `Uncaught TypeError: Illegal invocation` error
10 years ago
Blaine Hatab
6aa8db4048
Screencast interfacing react + backbone
10 years ago
Paul O’Shannessy
27fbafae18
Own our fiddles so we can update them more easily
10 years ago
Paul O’Shannessy
50c8e71ae9
[docs] Remove generic spread, Object.assign mentions
10 years ago
Paul O’Shannessy
83b3a909bd
[docs] Clarify when state may duplicate props
10 years ago
Rafal Dittwald
373233c440
Update ref-05-events.md
use backticks and change example into its own sentence
10 years ago
Toru Kobayashi
495036f56f
Fix addons documentation of development only part
10 years ago
Alexey Shamrin
44ee436eea
fix typo in addons.update() $splice command help
10 years ago
Rafal Dittwald
d1fa368666
add note re: handling events in capture phase
10 years ago
Christian Alfoni
368fbbce83
Adding link to wiki
Based on conversation in https://github.com/facebook/react/pull/2501 . A good place to guide people further in finding the complete set of tools needed to build an application.
10 years ago
Aaron Franks
0016277532
Add top-level API docs section for React.createElement.
10 years ago
Mark Funk
e0232a0352
Animation documentation for ReactTransitionGroup
Update to the animation documentation for ReactTransitionGroup to clear the air on where one can use it.
If someone tries to use it off of React.addons.ReactTransitionGroup, which is undefined, instead of its real location, React.addons.TransitionGroup, they get a vague error about being unable to set defaultProps of undefined in the React createElement body.
10 years ago
Sam Saccone
df28c4779c
Update tutorial language to be more explicit.
The word "Friends" does establish a relationship however it does not fit in the vernacular of react.
This change makes the phrase more explicit and more familiar.
10 years ago
Martin Jul
ded474e6fe
Update 10.4-test-utils.md
This adds minimal valid event data to the Simulate.change example for a text input field.
10 years ago
Ben Alpert
09f1d04981
Make ReactTextComponent properly injectable
ReactTextComponent's implementation is DOM-specific; instead of flattenChildren creating the ReactTextComponent instances, ReactNativeComponent now takes care of having ReactTextComponent injected and creating the component instance. I also renamed ReactTextComponent to ReactDOMTextComponent and moved it to browser/ui/ where it belongs. ReactDOMTextComponent no longer inherits directly from ReactComponent and instead implements construct and {mount,receive,unmount}Component directly.
This diff removes `ReactTestUtils.isTextComponent` which should have previously never returned true when using public APIs.
Test Plan: jest, use ballmer-peak example.
10 years ago
João Valente
404c583bb5
Update ref-09-glossary.md
10 years ago
Ivan Krechetov
327f903b6b
There's no isComponentOfType() anymore
10 years ago
Andres Suarez
37361bf079
Add SSR at SoundCloud talk
10 years ago
Pedro Nauck
eedb2ffe04
bugfix: remove conflict comment
10 years ago
Pedro Nauck
f876868e9e
update namespaced component to adapt with the v0.12
10 years ago
Ville Immonen
25e231a8a1
Update React.renderToString argument type in docs
renderToString and renderToStaticMarkup now take a ReactElement.
Update the documentation to reflect this recent change.
10 years ago
Raymond Ha
2f51451165
Update deprecated propTypes
10 years ago
Stefan Dombrowski
26ad3053c5
React.renderComponent --> React.render
Also fixed a spelling mistake.
10 years ago
John Heroy
35e1db2bac
Add comma for readability in tutorial
10 years ago
Spencer Handley
445d8d4d76
Added comma to increase readability.
When thumbing through the docs, I noticed a few missing commas. I inserted two commas and did not alter any source code.
10 years ago
Cheng Lou
ca3eeb43b0
Merge pull request #2414 from benleiken/patch-1
Moved key requirement note into 'getting started'
10 years ago
Sebastian Markbage
4e203db794
More Descriptor -> Element renames
10 years ago
Sebastian Markbage
4202fcd9c5
Replace transferPropsTo with transferring props patterns
10 years ago
Sebastian Markbage
836909901e
Updated Docs for new JSX Changes
Moved non-JSX explanation to Displaying Data.
Overhauled JSX in Depth.
Added JSX Spread Section.
10 years ago
Paul O’Shannessy
66aecc35a0
Update Animation docs for createElement
10 years ago
Paul O’Shannessy
febd05b900
Update React.DOM -> React.createElement through docs
10 years ago
Benjamin Leiken
3444a6f783
Moved key requirement note into 'getting started'
It's an important note and it was buried too far down the page. Now it's more prominent and harder for people to miss (like I did).
10 years ago
Paul O’Shannessy
a0a4b58af4
[docs] Glossary
Pulled in https://gist.github.com/sebmarkbage/fcb1b6ab493b0c77d589
mostly verbatim
10 years ago
Paul O’Shannessy
5b70c84e8d
Update properties/elements
10 years ago
Ben Alpert
fb46ad0356
Update docs to align with 0.12 better
- Rename React.renderComponent -> React.render
- Remove most references to transferPropsTo
10 years ago