Alex Boyd
83bf9de1a1
ref-08-reconciliation.md: grammar/punctuation fixes
2015-01-14 22:40:29 -07:00
chen
1d2d17bfdc
Update 07-forms.md
2015-01-09 10:19:42 +08:00
Jason Bonta
1d4cbb439f
suggesting the use of immutable js for comparisons
2015-01-07 10:46:50 -08:00
Paul O’Shannessy
a1e6b666c1
Merge pull request #2801 from jsfb/componentDidUpdate-docs
...
Update docs to indicate that componentDDidUpdate is fired after changes are flushed to the DOM. Fix
2015-01-05 09:34:38 -08:00
Paul O’Shannessy
342700f65d
Merge pull request #2791 from rickbeerendonk/patch-1
...
Update ref-09-glossary.md
2015-01-05 09:05:46 -08:00
Jim
48eddd101e
Update docs to indicate that componentDDidUpdate is fired after changes are flushed to the DOM. Fixes #2796
2015-01-02 14:02:44 -08:00
Rick Beerendonk
a7aad17d87
Update ref-09-glossary.md
...
Minor grammatical fix.
2014-12-30 23:42:38 -05:00
Mihai Parparita
751e21a58e
SyntheticEvent.timeStamp is a number, not a Date
...
Also makes the a few other attribute types use lowercase (primitive) naming, to be consistent.
2014-12-30 12:06:49 -08:00
Chitharanjan Das
1307460818
Update 02-displaying-data.md
...
Just a couple of minor grammatical fixes.
2014-12-30 10:49:44 +00:00
Roman Vanesyan
f0f274c3b6
Update ref-01-top-level-api.md
...
React isn't framework, it's library for UI!?
2014-12-24 14:39:37 +05:00
Paul O’Shannessy
dfd4e09c18
update docs for 0.12.2 changes
...
(cherry picked from commit e6e60c4fa848d1c9ce1349eff750cfa2faf156dc)
2014-12-18 12:47:32 -08:00
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.
2014-12-17 12:52:49 -08:00
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."
2014-12-15 23:43:26 -08:00
Bruno Škvorc
ff521a97b8
Update 02-displaying-data.md
...
Typo fix
2014-12-14 08:03:35 +01:00
Cam Song
54e0e9cdad
Add Chinese translation of js-spread
2014-12-12 09:33:01 +08:00
Cam Song
4c42d3f40e
Add Chinese translation of jsx-in-depth
2014-12-11 00:19:15 +08:00
Tim Schaub
0625baaf00
Add missing verb
...
This adds a missing verb in JSX-in-depth doc.
2014-12-08 15:08:57 -08:00
Ben Alpert
6f4c694ac0
Merge pull request #2672 from cookfront/master
...
The same problem in issue #2648
2014-12-06 23:50:43 -08:00
cookfront
83d5a4514d
The same problem in issue #2648
2014-12-07 15:42:51 +08:00
Benjamin Keen
dbb62039e3
Update 10.6-update.md
...
Spelling fix.
2014-12-06 15:49:22 -08:00
Paul O’Shannessy
c6591c4532
Merge pull request #2635 from zpao/docs/props-state-clarification
...
[docs] Clarify when state may duplicate props
2014-12-03 11:24:21 -08:00
Paul O’Shannessy
e31d9f8d7c
Merge pull request #2639 from zpao/own-jsfiddle
...
Own our fiddles so we can update them more easily
2014-12-03 11:24:08 -08:00
张敏
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
2014-12-03 17:28:55 +08:00
Paul O’Shannessy
b956ab7f50
Merge pull request #2615 from af/createElement-docs
...
Add top-level API docs section for React.createElement.
2014-12-02 11:19:26 -08:00
Paul O’Shannessy
103cb209a9
Merge pull request #2636 from zpao/docs/spread-assign-update
...
[docs] Remove generic spread, Object.assign mentions
2014-12-02 11:10:33 -08:00
Paul O’Shannessy
5dd19ebd7b
Merge pull request #2622 from rafd/patch-1
...
add note re: handling events in capture phase
2014-12-02 11:10:20 -08:00
Paul O’Shannessy
7a6c76796d
Merge pull request #2623 from jbhatab/patch-1
...
Screencast interfacing react + backbone
2014-12-02 10:54:05 -08:00
Blaine Hatab
6aa8db4048
Screencast interfacing react + backbone
2014-12-02 10:49:16 -06:00
Paul O’Shannessy
27fbafae18
Own our fiddles so we can update them more easily
2014-12-01 19:33:43 -08:00
Paul O’Shannessy
4a010124ce
Merge pull request #2616 from christianalfoni/patch-3
...
Adding link to wiki
2014-12-01 16:03:16 -08:00
Paul O’Shannessy
50c8e71ae9
[docs] Remove generic spread, Object.assign mentions
2014-12-01 13:54:26 -08:00
Paul O’Shannessy
83b3a909bd
[docs] Clarify when state may duplicate props
2014-12-01 13:46:59 -08:00
Rafal Dittwald
373233c440
Update ref-05-events.md
...
use backticks and change example into its own sentence
2014-12-01 15:36:01 -05:00
Toru Kobayashi
495036f56f
Fix addons documentation of development only part
2014-12-01 23:17:53 +09:00
Alexey Shamrin
44ee436eea
fix typo in addons.update() $splice command help
2014-11-30 20:20:34 +03:00
Rafal Dittwald
d1fa368666
add note re: handling events in capture phase
2014-11-28 15:38:15 -05:00
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.
2014-11-27 08:48:16 +01:00
Aaron Franks
0016277532
Add top-level API docs section for React.createElement.
2014-11-26 23:18:10 -08:00
Paul O’Shannessy
79712ee462
Merge pull request #2544 from mjul/patch-1
...
Update 10.4-test-utils.md
2014-11-19 07:16:07 -08:00
Paul O’Shannessy
61a5ef94d5
Merge pull request #2554 from samccone/patch-1
...
Update tutorial language to be more explicit.
2014-11-19 06:15:35 -08:00
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.
2014-11-18 13:49:23 -05:00
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.
2014-11-18 12:36:20 -05:00
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.
2014-11-17 13:14:11 +01:00
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.
2014-11-15 12:30:42 -08:00
João Valente
404c583bb5
Update ref-09-glossary.md
2014-11-13 12:06:51 +00:00
Ivan Krechetov
327f903b6b
There's no isComponentOfType() anymore
2014-11-11 09:25:33 +01:00
Andres Suarez
37361bf079
Add SSR at SoundCloud talk
2014-11-06 10:54:05 -05:00
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.
2014-11-04 17:02:00 +02:00
Raymond Ha
2f51451165
Update deprecated propTypes
2014-10-29 21:00:32 -07:00
Paul O’Shannessy
e9afc65b52
Merge pull request #2419 from johnheroy/patch-1
...
Add comma for readability in tutorial.md
2014-10-29 18:03:48 -07:00