Paul O’Shannessy
57bd8fe3bb
Merge pull request #3295 from koba04/patch-1
...
Add a code format in 2015-02-24-react-v0.13-rc1.md
2015-03-01 20:48:25 -08:00
Toru Kobayashi
1744977201
Add a code format in 2015-02-24-react-v0.13-rc1.md
2015-03-02 09:33:36 +09:00
Paul O’Shannessy
b2161bd51d
[docs] show line numbers in online jsx compiler
2015-03-01 11:53:06 -08:00
Ben Alpert
7ebf7c46f5
ReactFragment counts as a node without warning
...
Fixes #3286 .
2015-03-01 11:50:07 -08:00
Paul O’Shannessy
dc92fa480a
Upgrade package dependencies for new esprima/jstransform
2015-03-01 11:25:16 -08:00
Ben Alpert
7346ce5c0b
Merge pull request #3288 from apaatsio/remove-unnecessary-variable-in-test
...
Remove unnecessary variable from test
2015-02-28 13:31:50 -08:00
Antti Ahti
323789540a
Remove unnecessary variable from test
2015-02-28 15:23:34 +02:00
Paul O’Shannessy
48e54da484
XJS -> JSX
...
Part 1: change all of our methods and AST node types.
Part 2: Rename files so there is no trace of XJS
2015-02-27 18:23:18 -08:00
Ben Alpert
673874dc87
Merge pull request #3263 from wmertens/patch-1
...
beta1 blog entry: Fix CoffeeScript example
2015-02-27 15:28:22 -08:00
PNikray
0e355fc8c4
Fixed the url in community-roundup-9
...
using http resulted in an error, changing it to https fixes it
2015-02-27 23:43:50 +01:00
PNikray
77ec7da124
Fixed the url in community-roundup-5
...
using http resulted in an error, changing it to https fixes it
2015-02-27 23:42:14 +01:00
PNikray
94fa077a76
Changed the url of the video in community-round-up-4
...
The url was using http instead of https, which results in an error.
2015-02-27 23:39:17 +01:00
Ben Alpert
de1f8682d5
Add note about enter/leave bubbling
...
Fixes #2826 .
2015-02-26 16:29:18 -08:00
Ben Alpert
feae9ad0a8
Add regression test for scry order
...
Fixes #2978 .
2015-02-26 15:54:50 -08:00
Ben Alpert
d5fa14de1a
Don't use undefined as parent name in key warning
...
Fixes #3222 .
2015-02-26 15:20:37 -08:00
Sebastian Markbåge
1c697ab141
Merge pull request #3265 from sebmarkbage/shouldupdaterefs
...
Avoid passing `this` of a static object
2015-02-26 13:33:35 -08:00
PNikray
9c7f9b8de5
Added the key attribute into the todo example
...
This is to solve the warning (that the key should be set) that was being raised when adding a new item.
2015-02-26 19:37:05 +01:00
Sebastian Markbage
4adcee69a0
Add cloneElement Implementation
...
This is a new version of cloneWithProps but this one is moving out of
add-ons. Unlike cloneWithProps, this one doesn't have special logic for
style, className and children.
This one also preserves the original ref. This is critical when upgrading
from a mutative pattern where a child might have a ref on it.
It also preserves context, which is similar to how context would work when
it is parent based. It also ensures that we're compatible with the old
mutative pattern which makes updates easier.
2015-02-26 01:17:05 -08:00
Andreas Svensson
20dd247292
ReactDOMComponent should warn when provided children for void elements
2015-02-26 10:14:47 +01:00
Sebastian Markbage
061c6fc13c
Avoid passing this of a static object
...
Refactoring artifact.
2015-02-25 18:37:02 -08:00
Ben Alpert
618bbdc531
Merge pull request #3239 from rralian/update/docs-clarify-forceUpdate
...
Docs: clarifies forceUpdate method
2015-02-25 17:35:07 -08:00
Wout Mertens
ce7190537f
beta1 blog entry: Fix CoffeeScript example
...
Fix the constructor call and make code more idiomatic.
2015-02-26 00:26:16 +01:00
Paul O’Shannessy
84ddd9deaf
Merge pull request #3257 from danmane/update-tutorial-md
...
Add mention of go and php server implementations in React tutorial
2015-02-25 12:46:17 -08:00
Daniel Mané
a7ae40e90d
Add mention of go and php server implementations in React tutorial
2015-02-24 15:10:11 -08:00
Paul O’Shannessy
63146e1f16
v0.13 RC blog post
...
Note: we need to manually specify date in these files so that the sort order is
correct (2 posts on the same day). Otherwise it will just be ABC order, which
is wrong.
Closes : #3256
2015-02-24 14:05:57 -08:00
Paul O’Shannessy
7269422825
Fix typo
...
(cherry picked from commit 4d90b9bdf3 )
2015-02-24 12:49:19 -08:00
Paul O’Shannessy
888daccf9f
Merge pull request #3255 from chenglou/fix-blog-post
...
[Blog] Fix post code snippet display
2015-02-24 12:39:28 -08:00
Cheng Lou
99d23a54bc
[Blog] Fix post code snippet display
...
I think nokogiri (is that what we use?) accidentally escaped this
snippet. Simply putting spaces between braces fixes it.
2015-02-24 15:22:25 -05:00
Paul O’Shannessy
2f20091520
Merge pull request #3250 from sebmarkbage/blogpost
...
Add Blog Post about ReactElement Changes in 0.13
2015-02-24 11:26:55 -08:00
Jim
29f6c7e774
Fix comment to reflect the new (non-deprecated) way of accessing a class type.
2015-02-24 11:18:17 -08:00
Sebastian Markbage
cd47798c59
Add Blog Post about ReactElement Changes in 0.13
...
Explains some of the rationale for the new warnings added in 0.13.
2015-02-24 10:54:03 -08:00
Paul O’Shannessy
44d91295cb
Merge pull request #3251 from Simek/empty-docs-prevnext-fix
...
do not show empty "docs-prevnext" div on single page
2015-02-24 09:24:23 -08:00
Bartosz Kaszubowski
f785dd09ea
do not show empty "docs-prevnext" div on single page
...
to remove additional necessary spacing between content and footer
2015-02-24 16:28:47 +01:00
Ben Alpert
1943a9a0db
Only call put/deleteListener with truthy listeners
...
Without this, transitioning from `<div onClick={null} />` to `<div />` triggered `willDeleteListener` to delete the `click` handler which caused problems; now, we only call `putListener` and `deleteListener` when we have an actual listener.
I now also clean up the `onClickListeners` map upon deletion and don't double-listen when updating the event listener.
2015-02-23 14:52:30 -08:00
Ben Alpert
090e4bbc9a
Revert "Revert #1536 "
...
Formerly "Attach empty onclick listener to each node". This reverts commit 431155d2e2 .
2015-02-23 14:28:22 -08:00
Bob Ralian
8d29520dc7
clarifies forceUpdate method
2015-02-23 10:34:41 -06:00
Paul O’Shannessy
95206fe5dc
Make cloneWithProps typechecks static-only
2015-02-22 14:40:39 -08:00
Paul O’Shannessy
a30e25467d
v0.13.0-rc1 starter kit
2015-02-22 13:32:25 -08:00
Paul O’Shannessy
06126ad3f4
v0.13.0-rc1
v0.13.0-rc1
2015-02-22 13:26:13 -08:00
Paul O’Shannessy
4f26cc1414
Update dependencies
2015-02-22 13:26:13 -08:00
Paul O’Shannessy
d83fa6a6bf
Merge pull request #3224 from Simek/patch-2
...
wider Twitter timeline on support page
2015-02-22 13:10:43 -08:00
Paul O’Shannessy
fe16c8292c
Merge pull request #3232 from artnez/master
...
Add vendor/inline-source-map.js to package.json
2015-02-22 13:01:05 -08:00
Paul O’Shannessy
029e64bb56
Merge pull request #3233 from artnez/es6-call-spread
...
Add support for jstransform es6-call-spread
2015-02-22 12:57:25 -08:00
Artem Nezvigin
0bc4aafb74
Add support for jstransform es6-call-spread
2015-02-22 11:57:06 -08:00
Artem Nezvigin
d7791a7cbb
Add vendor/inline-source-map.js to package.json
2015-02-22 11:11:48 -08:00
Naman Goel
34d5e05199
Merge branch 'master' of https://github.com/facebook/react
...
* 'master' of https://github.com/facebook/react: (30 commits)
Expose --target flag on jsx executable
Contributing: cleanup quote style
Add Relay blog post
Fix long lines in vendor/fbtransform/visitors
lint vendor/*.js
fix .eslintignore
remove ballmer example
Fix a doc. cloneWithProps clones a ReactElement.
lint from root
Fixed mistake in jsdocs types for cloneWithProps
Put deprecation warning for classSet
Lint vendor/fbtransform as well
More warnings to ReactFragment.create
Warn when using constructor function directly
Move option parsing into react-tools proper.
Remove lodash devDependency
Added the immutability talk to the React.js Conf update.
Use same pathways for browser transforms as we use in react-tools
lint: remove spaces from array brackets
lint: remove spaces from object braces
...
2015-02-22 15:57:34 +01:00
Naman Goel
20d3f0db29
CSS property
2015-02-22 15:57:30 +01:00
chico
9185323959
make dev and production environment consistent
2015-02-22 14:58:42 +03:00
Bartosz Kaszubowski
087cd7b27a
wider Twitter timeline on support page
2015-02-21 23:20:09 +01:00
Paul O’Shannessy
5ab7fdecfe
Merge pull request #2994 from chenglou/docs-classset
...
[Docs] Add note on classSet deprecation
2015-02-20 17:00:36 -08:00