Sebastian Markbage and Paul O’Shannessy
cbefc5a968
Add display names to controlled components
...
These show up as Unknown in the DevTools. They also wrap a native component,
so they show up double.
2014-01-02 20:03:26 -08:00
Fabio Costa and Paul O’Shannessy
f3e774559f
adding warning about the lack of support for onScroll on IE8
...
Adding `console.warn` about the lack of support for `onScroll` event on IE8
Related to this issue on github https://github.com/facebook/react/issues/631
2014-01-02 20:01:33 -08:00
Pete Hunt and Paul O’Shannessy
1733d42ded
Rework ReactRootIndex generation
...
This had a higher probability of collision than originally thought (bad math). This makes the strategy injectable and provies a
no-collision version on the client and an unlikely-to-collide version on the server.
2014-01-02 20:00:30 -08:00
Pete Hunt and Paul O’Shannessy
cc005668b5
cloneWithProps()
...
what if you want to change the props of a child? This is my first attempt which lets you clone a child and transfer some custom props to it.
There is a fundamental issue with refs here. Since the component is cloned the ref will be broken. And since we can clone multiple times, it might not make sense to support repairing refs.
2014-01-02 19:46:50 -08:00
Pete Hunt and Paul O’Shannessy
5661d5168e
Add svg polygon
2014-01-02 19:45:55 -08:00
Ben Newman
5aae5a7b1d
Merge pull request #783 from benjamn/upgrade-commoner
...
Upgrade commoner build tool to v0.8.12.
2014-01-02 12:09:26 -08:00
Christopher Chedeau
acf0c5c646
Merge pull request #784 from vjeux/react_dev_tools
...
React Chrome Developer Tools
2014-01-02 12:04:53 -08:00
Vjeux
e915294b68
React Chrome Developer Tools
2014-01-02 21:04:09 +01:00
Ben Newman
1755d43add
Upgrade commoner build tool to v0.8.12.
...
Fixes #394 .
Fixes #615 .
2014-01-02 14:54:13 -05:00
Ben Newman
04ad3bfcc3
Merge pull request #725 from cpojer/getInitialState-invariant
...
Add invariant to check getInitialState return value. Fixes #397 .
2014-01-02 06:59:50 -08:00
Christopher Chedeau
a78f6f7f94
Merge pull request #779 from chenglou/live-err
...
docs better error display for live editor and JSX compiler
2014-01-01 19:58:26 -08:00
Cheng Lou
f0b5219df9
docs better error display for live editor and JSX compiler
2014-01-01 19:41:08 -05:00
Christopher Chedeau
3396654a6f
Merge pull request #775 from chenglou/doc-fix
...
docs tips fix small typo and code
2014-01-01 14:05:21 -08:00
Cheng Lou
e244df510d
docs tips fix small typo and code
2014-01-01 15:28:44 -05:00
Christopher Chedeau
e91a8a1bc3
Merge pull request #765 from spicyj/editorconfig-80
...
.editorconfig: Set line length to 80
2013-12-31 12:22:14 -08:00
Ben Alpert
3defe88192
.editorconfig: Set line length to 80
...
And alphabetize properties.
2013-12-31 12:59:06 -07:00
Pete Hunt
9a4f011f6c
Merge pull request #763 from spicyj/gh-762
...
Add info about dev vs. prod builds
2013-12-31 09:57:10 -08:00
Ben Alpert
c877451887
Add info about dev vs. prod builds
...
Also moved the dev builds first because that's what most people will want.
2013-12-31 10:35:49 -07:00
Christopher Chedeau
96782fc836
Merge pull request #755 from spicyj/cm-scroll
...
Upgrade codemirror and enable line wrapping
2013-12-30 20:56:59 -08:00
Christopher Chedeau
1155aa9ac0
Merge pull request #758 from chenglou/docs-kill-wiki
...
docs remove link to wiki page
2013-12-30 20:40:05 -08:00
Cheng Lou
41526091a0
docs remove link to wiki page
...
Also some minor writing changes.
2013-12-30 23:38:01 -05:00
Ben Alpert
b2e51c6e01
Upgrade codemirror and enable line wrapping
...
Fixes #678 .
2013-12-30 18:06:00 -07:00
Christopher Chedeau
55b7a57e07
Merge pull request #753 from vjeux/virtual_dom_docs
...
Making 'native DOM' nodes more explicit in documentation
2013-12-30 16:37:51 -08:00
Vjeux
1d4d1a0be6
Making 'native DOM' nodes more explicit in documentation
2013-12-31 01:34:42 +01:00
Christopher Chedeau
7dca85a9b1
Merge pull request #752 from spicyj/docs-ie8-css
...
IE8 style fixes
2013-12-30 16:24:26 -08:00
Ben Alpert
1c90172cd0
IE8 style fixes
...
- Add html5shiv so that HTML5 elements like header, footer, etc can be styled
- Remove a couple uses of :first-child/:last-child which IE8 doesn't support
2013-12-30 17:17:17 -07:00
Christopher Chedeau
f871147b4d
Merge pull request #750 from chenglou/docs-clean
...
docs tips small refactorings
2013-12-30 15:12:43 -08:00
Cheng Lou
1671efb53a
docs tips small refactorings
2013-12-30 17:54:41 -05:00
Christopher Chedeau
8915f1b85d
Merge pull request #749 from spicyj/docs-ie8
...
Make React website work in IE8
2013-12-30 14:28:19 -08:00
Ben Alpert
92b440b1d7
Make React website work in IE8
...
Fixes #406 .
Empty conditional comment is for http://www.phpied.com/conditional-comments-block-downloads/ .
2013-12-30 15:25:26 -07:00
Christopher Chedeau
3b0f705658
Merge pull request #623 from chenglou/tips-communication
...
docs tips parent-child communication 2
2013-12-30 14:09:01 -08:00
Cheng Lou
23eac0bbbb
docs tips expose component function
2013-12-30 17:07:24 -05:00
Christopher Chedeau
50d190f111
Merge pull request #746 from petehunt/tip-update
...
Update parent/child communication tip
2013-12-30 10:23:19 -08:00
petehunt
47fe931549
Update parent/child communication tip
2013-12-30 13:22:10 -05:00
Paul O’Shannessy
b3e1697aad
Merge pull request #739 from jhiswin/master
...
live_editor.js using deprecated function
Fixes #738 #666
2013-12-30 10:04:51 -08:00
Christopher Chedeau
4190d0a7bb
Merge pull request #687 from vjeux/community_13
...
Community Round-up #13
2013-12-30 09:28:13 -08:00
Vjeux
40e2d8a064
Community Round-up #13
2013-12-30 18:27:31 +01:00
jhiswin
e2ebbeac07
live_editor.js using deprecated function
...
unmountAndReleaseReactRootNode -> unmountComponentAtNode
breaks html-jsx.html
2013-12-29 09:42:35 -05:00
Pete Hunt
eab2ededdf
Merge pull request #736 from spicyj/minify-before-browserify
...
Minify both before and after browserify
2013-12-28 23:17:52 -08:00
Pete Hunt
7e29f4607b
Merge pull request #737 from spicyj/docs-ajax-state
...
Move initial $.ajax out of getInitialState
2013-12-28 23:17:34 -08:00
Ben Alpert
cce91611aa
Move initial $.ajax out of getInitialState
...
We want to encourage people to make pure getInitialState functions.
2013-12-29 00:14:05 -07:00
Ben Alpert
76c9d8465e
Switch to using uglifyify
2013-12-29 00:03:26 -07:00
Ben Alpert
abee8b0476
Minify both before and after browserify
2013-12-28 23:41:54 -07:00
Pete Hunt
82c4e897dc
Merge pull request #733 from ivan/master
...
Use explicit $.ajax dataType and add error callback
2013-12-28 22:15:08 -08:00
Ivan Kozik
17f14d523b
console.log -> console.error
2013-12-29 06:12:45 +00:00
Pete Hunt
f5f464b16a
Merge pull request #734 from ivan/tut-jsx-header
...
Tell user to keep the @jsx declaration at the top of the script
2013-12-28 22:08:19 -08:00
Ivan Kozik
0647c2ee98
Add a warning about the @jsx declaration
2013-12-29 05:51:07 +00:00
Ivan Kozik
f03d6e212a
Use explicit $.ajax dataType and add error callback
2013-12-29 05:32:46 +00:00
Pete Hunt
918c5134e1
Merge pull request #732 from chenglou/doc-pragma
...
docs add warning to add jsx pragma
2013-12-28 20:05:33 -08:00
Cheng Lou
8f5ef0fdf2
docs add warning to add jsx pragma
2013-12-28 23:04:34 -05:00