Commit Graph

964 Commits

Author SHA1 Message Date
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
Paul O’Shannessy
4ef39e8881 Merge pull request #2473 from zertosh/docs-ssr-at-sc
Add React at SoundCloud talk
2014-11-06 14:05:10 -08:00
jsfb
9ca8843575 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
37361bf079 Add SSR at SoundCloud talk 2014-11-06 10:54:05 -05:00
Paul O’Shannessy
81b2593471 Merge pull request #2452 from Shahor/master
Trailing commas break old IE versions
2014-11-05 11:00:12 -08: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
Alexandre Gaudencio
0cfd3260f9 Trailing commas break old IE versions 2014-11-03 02:54:23 +01:00
Paul O’Shannessy
2d17583ec7 Merge pull request #2433 from zpao/fiddle-integration
Bring in jsfiddle integration script, add harmony
2014-10-31 11:22:57 -07:00
Kurt Ruppel
902199d29a Fix typo in If/Else JSX doc. 2014-10-31 09:52:44 -07:00
Raymond Ha
2f51451165 Update deprecated propTypes 2014-10-29 21:00:32 -07:00
Paul O’Shannessy
2a0b61b97a Bring in jsfiddle integration script, add harmony 2014-10-29 19:35:27 -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
Stefan Dombrowski
26ad3053c5 React.renderComponent --> React.render
Also fixed a spelling mistake.
2014-10-29 19:05:16 +01:00
John Heroy
35e1db2bac Add comma for readability in tutorial 2014-10-28 15:22:40 -07:00
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.
2014-10-28 13:56:14 -07:00
Paul O’Shannessy
a5bd6e337c Add 0.12 starter kit 2014-10-28 11:48:53 -07:00
Christopher Chedeau
1a7154a112 Change the date and the link url to match the proper roundup 2014-10-28 11:36:12 -07:00
Paul O’Shannessy
2a0b379a9d Merge branch '0.12-stable' 2014-10-28 11:18:02 -07:00
Paul O’Shannessy
a7b5d3a948 0.12 blog post 2014-10-28 11:16:29 -07:00
Paul O’Shannessy
fce779e9a6 Update Authors & Acknowledgements for 0.12 2014-10-28 11:06:32 -07:00
Christopher Chedeau
192f3fa546 React.js Conf blog post
Closes #2412
2014-10-28 11:06:31 -07:00
Cheng Lou
ca3eeb43b0 Merge pull request #2414 from benleiken/patch-1
Moved key requirement note into 'getting started'
2014-10-28 11:06:31 -07:00
Sebastian Markbage
fcaa90c5cf Update Docs Navigation 2014-10-28 11:06:31 -07:00
Sebastian Markbage
4e203db794 More Descriptor -> Element renames 2014-10-28 11:06:31 -07:00
Sebastian Markbage
4202fcd9c5 Replace transferPropsTo with transferring props patterns 2014-10-28 11:06:30 -07:00
Sebastian Markbage
836909901e Updated Docs for new JSX Changes
Moved non-JSX explanation to Displaying Data.
Overhauled JSX in Depth.
Added JSX Spread Section.
2014-10-28 11:06:30 -07:00
Paul O’Shannessy
66aecc35a0 Update Animation docs for createElement 2014-10-28 11:06:30 -07:00
Paul O’Shannessy
febd05b900 Update React.DOM -> React.createElement through docs 2014-10-28 11:06:30 -07:00
Paul O’Shannessy
f9effa598f Use --harmomy in docs examples for cleaner code 2014-10-28 11:06:30 -07:00
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).
2014-10-27 10:22:57 -07:00
Christopher Chedeau
91ac772365 React.js Conf blog post
Closes #2412
2014-10-27 10:12:09 -07:00
Paul O’Shannessy
a0a4b58af4 [docs] Glossary
Pulled in https://gist.github.com/sebmarkbage/fcb1b6ab493b0c77d589
mostly verbatim
2014-10-23 20:51:11 -07:00
Paul O’Shannessy
12b9311066 React.renderComponent -> React.render
This covers most everything. The perf suite still needs work for the
Element updates. And the server rendering example needs to be done
wholesale.
2014-10-23 20:51:11 -07:00
Paul O’Shannessy
5b70c84e8d Update properties/elements 2014-10-23 20:51:11 -07:00
Ben Alpert
91f8ffef12 Fix typo in 0.12 RC blog post 2014-10-23 00:45:33 -07:00
Ben Alpert
fb46ad0356 Update docs to align with 0.12 better
- Rename React.renderComponent -> React.render
- Remove most references to transferPropsTo
2014-10-22 14:01:54 -07:00
Paul O’Shannessy
d5a9aeda8a Update licenses for docs and examples
Docs are now CC licensed
Examples are under a separate license
2014-10-22 12:35:08 -07:00
Paul O’Shannessy
49fb50d5e1 Merge pull request #2370 from chenglou/rm-school
[Docs] Remove most of @jsx
2014-10-21 14:11:22 -07:00
Cheng Lou
33c7ee6112 [Docs] Remove most of @jsx
I kept some places intact (search for @jsx) because they require other bigger changes:

- ref-01-top-level-api.md
- grunt/tasks/npm.js
- old blog posts (don't change those)
- examples/ folder, as they have their own package.json that rely on old dependencies (node-jsx, reactify) that haven't upgraded to 0.12
2014-10-20 14:44:07 -04:00
Sergey Generalov
02bf6b9f08 Update 09.1-animation.md
Add note about ReactTransitionGroup, that any additional, user-defined, properties will be become properties of the rendered component.
And example how to render a `<ul>` with css class.
2014-10-17 20:18:45 -07:00
Christopher Chedeau
98ac0d50b1 Merge pull request #2356 from vjeux/roundup_23
Community round-up #23
2014-10-17 07:58:40 -07:00
Christopher Chedeau
8927f5e4b1 Community round-up #23 2014-10-17 07:56:28 -07:00
Paul O’Shannessy
f859f5870b 0.12 rc1 release materials
* blog post
* starter kit
2014-10-16 15:31:52 -07:00
Paul O’Shannessy
1b78114173 Merge pull request #2357 from jimjea/patch-1
Minor grammar change to Thinking in React
2014-10-15 17:01:57 -07:00
Jimmy Jea
2e9717cf8f minor change to post
Hello,

I was just reading through your post and noticed a minor change. The sentence originally read, "It's scaled very well for us...". I thought it was a little unclear since it's can mean "it has" or "it is", which can make this sentence take on a whole different meaning.
2014-10-15 16:36:30 -07:00
Paul O’Shannessy
85ea4669d0 [docs] Move React Elements post to right place, fix typo
The URL already made its way around so we can't just break it. We might
want to just live with it instead of even doing this redirect.

2b225446c0 (commitcomment-8176218)
2014-10-15 16:10:03 -07:00
Paul O’Shannessy
625c75fc80 0.11.2 release materials
TODO: starter kit for cherry-pick to master
(cherry picked from commit 732ffad3137773e72ca587decd20d2aff85200a2)
2014-10-15 15:55:12 -07:00