Commit Graph

995 Commits

Author SHA1 Message Date
Paul O’Shannessy
3c2fc6440e update docs for 0.12.2 changes
(cherry picked from commit e6e60c4fa8)
2014-12-18 12:47:32 -08:00
Harry Moreno
9adb4447cd 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
Paul O’Shannessy
5f4d759a2b Merge pull request #2718 from alextsg/patch-1
Update tutorial.md for grammatical changes
2014-12-16 09:48:23 -08:00
jeffmo
849e79fef4 Include 0.12.1 starter kit
(cherry picked from commit e9dde65341)
2014-12-16 09:44:00 -08:00
Alexander Tseung
a53270267f 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
e507dc08d5 Update 02-displaying-data.md
Typo fix
2014-12-14 08:03:35 +01:00
Cam Song
9c7dc5f3b8 Add Chinese translation of js-spread 2014-12-12 09:33:01 +08:00
Cam Song
8621b4d338 Add Chinese translation of jsx-in-depth 2014-12-11 00:19:15 +08:00
Tim Schaub
877d00d9ba Add missing verb
This adds a missing verb in JSX-in-depth doc.
2014-12-08 15:08:57 -08:00
Ben Alpert
b97bb21ea2 Merge pull request #2672 from cookfront/master
The same problem in issue #2648
2014-12-06 23:50:43 -08:00
cookfront
7fad8fddf1 The same problem in issue #2648 2014-12-07 15:42:51 +08:00
Benjamin Keen
2ee870e253 Update 10.6-update.md
Spelling fix.
2014-12-06 15:49:22 -08:00
Paul O’Shannessy
3144485cb9 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
b3cd299ed7 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
张敏
218a9ae74d 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
1bcf6ad77b 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
9021423be9 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
45bddda0f9 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
a76ffd56b7 Merge pull request #2623 from jbhatab/patch-1
Screencast interfacing react + backbone
2014-12-02 10:54:05 -08:00
Blaine Hatab
e1be9c0ad8 Screencast interfacing react + backbone 2014-12-02 10:49:16 -06:00
Paul O’Shannessy
2c2cac00f9 Own our fiddles so we can update them more easily 2014-12-01 19:33:43 -08:00
Paul O’Shannessy
e347e2975f Merge pull request #2616 from christianalfoni/patch-3
Adding link to wiki
2014-12-01 16:03:16 -08:00
Paul O’Shannessy
fc91d2fd72 [docs] Remove generic spread, Object.assign mentions 2014-12-01 13:54:26 -08:00
Paul O’Shannessy
0a3a85bf52 [docs] Clarify when state may duplicate props 2014-12-01 13:46:59 -08:00
Rafal Dittwald
b3438c5f4b Update ref-05-events.md
use backticks and change example into its own sentence
2014-12-01 15:36:01 -05:00
Toru Kobayashi
a9115134b5 Fix addons documentation of development only part 2014-12-01 23:17:53 +09:00
Alexey Shamrin
92862ed601 fix typo in addons.update() $splice command help 2014-11-30 20:20:34 +03:00
Rafal Dittwald
4bc7c46c62 add note re: handling events in capture phase 2014-11-28 15:38:15 -05:00
Christian Alfoni
f09a39d963 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
5e7e07b6d8 Add top-level API docs section for React.createElement. 2014-11-26 23:18:10 -08:00
Steven Luscher
0f488bfe71 Community #24: New Carousel link, spelled react-prism correctly, and removed the whale-speak. 2014-11-24 18:24:52 -08:00
Steven Luscher
c94a48be4f Wrote Community Roundup #24 2014-11-24 18:12:59 -08:00
Christopher Chedeau
f8aee772ce Mention that talks will be recorded 2014-11-24 11:28:42 +00:00
Christopher Chedeau
c32cf03d0b better wording thanks to @jwalke 2014-11-24 10:33:23 +00:00
Christopher Chedeau
fb2be69e9c react.js conf updates 2014-11-24 09:26:00 +00:00
Paul O’Shannessy
3a0f30480d 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
a07ab60ec0 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
5b2ffde48d 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
8e47082fb6 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
50db9feb28 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
230115da92 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
485d84fb9b Update ref-09-glossary.md 2014-11-13 12:06:51 +00:00
Ivan Krechetov
13311639cc There's no isComponentOfType() anymore 2014-11-11 09:25:33 +01:00
Paul O’Shannessy
cbada1e55a Merge pull request #2473 from zertosh/docs-ssr-at-sc
Add React at SoundCloud talk
2014-11-06 14:05:10 -08:00
jsfb
7f37074c33 Use adjective "too" instead of "to"
The author clearly intended to use the adjective "too" to mean "excessively" instead of the preposition "to".
2014-11-06 13:42:19 -08:00
Andres Suarez
d5810e46f9 Add SSR at SoundCloud talk 2014-11-06 10:54:05 -05:00
Paul O’Shannessy
462f8ea9f6 Merge pull request #2452 from Shahor/master
Trailing commas break old IE versions
2014-11-05 11:00:12 -08:00
Ville Immonen
9c3357eef5 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
Alexandre Gaudencio
6379342b71 Trailing commas break old IE versions 2014-11-03 02:54:23 +01:00
Paul O’Shannessy
1666661a06 Merge pull request #2433 from zpao/fiddle-integration
Bring in jsfiddle integration script, add harmony
2014-10-31 11:22:57 -07:00