Paul O’Shannessy
e2fdcb1990
Blog post for 0.14.2
...
(cherry picked from commit a4fd08973b )
2015-11-04 17:38:31 -08:00
Paul O’Shannessy
cd7387c465
Changelog for 0.14.2
...
(cherry picked from commit c2dd57c6a6 )
2015-11-04 17:38:31 -08:00
Paul O’Shannessy
80af7c7be4
Merge pull request #5353 from chicoxyzzy/patch-1
...
add Node 5 to devEngines
2015-11-04 15:02:26 -08:00
Jim
4fae036269
Merge pull request #5385 from marocchino/update-korean
...
Update korean translation to 84af306
2015-11-04 13:57:00 -08:00
Arkist
1c14477a47
Update Korean translation to 84af306
2015-11-05 06:56:48 +09:00
Ben Alpert
35962a0008
Merge pull request #5205 from spicyj/cotree-num
...
Use incrementing numerical IDs to identify DOM components
2015-11-04 11:41:38 -08:00
Ben Alpert
c193d1a0c2
Don't put IDs in the DOM in createElement mode
2015-11-04 11:39:44 -08:00
Ben Alpert
b80f676d27
Add hooks back for devtools
2015-11-04 11:39:44 -08:00
Ben Alpert
35543c6312
Remove unused modules
...
- Remove last references to ReactInstanceHandles (still used in responder unit test)
- Remove ClientReactRootIndex/ServerReactRootIndex
2015-11-04 11:39:44 -08:00
Ben Alpert
3cebadaa6b
Remove now-unused _rootNodeID from composites
2015-11-04 11:39:44 -08:00
Ben Alpert
e48c8be556
Use incrementing numerical IDs to identify DOM components
2015-11-04 11:39:44 -08:00
Ben Alpert
f06ddf7905
Turn ReactInstanceHandles-test into ReactDOMTreeTraversal-test
...
This test relied on the fact that ReactDOMComponent still produced hierarchical IDs -- although this module could be used standalone, we're replacing it completely so it makes more sense to just move the tests over to test ReactDOMTreeTraversal.
2015-11-04 11:39:44 -08:00
Ben Alpert
663c4b7d2e
Stop relying on hierarchical IDs in ReactDefaultPerf
2015-11-04 11:39:43 -08:00
Ben Alpert
5d94d7d43c
Perf: Static children count for wasted time
2015-11-04 11:39:43 -08:00
Ben Alpert
4ba0e95a96
Kill ReactMount.getNode/getID/purgeID with fire
2015-11-04 11:39:43 -08:00
Ben Alpert
796f8c353c
put/deleteListener take an instance, not an ID
...
This removes SimpleEventPlugin's dependency on ReactMount.getID.
2015-11-04 11:39:43 -08:00
Ben Alpert
d11ccd6956
Propagate events based on component tree, not IDs
2015-11-04 11:39:43 -08:00
Ben Alpert
f470cb88f8
Events: Pass native instances up until propagation
...
Next step: take advantage of having the native instances in EventPropagators instead of converting right back to IDs.
2015-11-04 11:39:43 -08:00
Ben Alpert
6d20556c78
Add functions to find the instance given a node
2015-11-03 17:03:40 -08:00
Ben Alpert
ce528457a4
ReactDOMComponentTree
...
New module! With this, we have a new module that uses the component tree to store DOM nodes. Most of the logic in this file relates to markup adoption -- if we were to drop that (along with server rendering) this file could just be a `return inst._nativeNode;`.
This works with useCreateElement only because we need to reference each node as it's created.
Events is now the only thing using ReactMount.getNode -- I'll introduce pointers back from the DOM nodes (and a `ReactDOMComponentTree.getInstanceFromNode`) and make that work.
2015-11-03 17:03:40 -08:00
Ben Alpert
5a7c273a1b
Always do useCreateElement for updates
...
Initial render can still be a markup string.
2015-11-03 17:03:40 -08:00
Ben Alpert
276ef737fe
Make ReactDOMComponent-test pass with useCreateElement
2015-11-03 17:03:40 -08:00
Ben Alpert
5becbe3f08
Remove obsolete tests with new tree-walking
2015-11-03 17:03:40 -08:00
Ben Alpert
19e2cf5ad5
Make ReactEmptyComponent-test not swallow logs
2015-11-03 17:03:40 -08:00
Jim
84af306044
Merge pull request #5372 from csbok/patch-1
...
Update getting-started.ko-KR.md
2015-11-03 03:44:31 -08:00
Ben Alpert
2858bca2e3
Merge pull request #5361 from ali/warn-on-missing-event-handlers
...
Warn on missing event handler properties
2015-11-02 20:23:20 -08:00
Ali Ukani
9ad4be0316
Warn on missing event handler properties
...
Fixes #3548 . Warns on properties that are case-insensitive matches for
registered event names (e.g. "onclick" instead of "onClick").
2015-11-02 23:13:20 -05:00
Ben Alpert
a4b5f2fffa
Merge pull request #5376 from spicyj/gh-4993
...
Test fixups after #4993
2015-11-02 18:27:25 -08:00
Ben Alpert
c802e9ede9
Test fixups after #4993
2015-11-02 18:26:52 -08:00
Ben Alpert
d2888798f0
Merge pull request #4993 from jsdf/shallow-render-lifecycle
...
Run all component lifecycle methods when shallow rendering
2015-11-02 18:16:55 -08:00
Ben Alpert
17289020f7
Merge pull request #5356 from rpominov/patch-1
...
fix shallowRenderer.getRenderOutput() return type in docs
2015-11-02 17:27:08 -08:00
Ben Alpert
5724fca7ae
Merge pull request #5358 from conorhastings/invariant-testutils-simulate-shallow-render
...
#5284 - Show a friendly error when using TestUtils.Simulate with shallow rendering
2015-11-02 17:22:07 -08:00
conorhastings
fbb8d2fe2d
Show a friendly error when using TestUtils.Simulate with shallow rendering
2015-11-02 20:14:26 -05:00
Paul O’Shannessy
b9371bc216
Merge pull request #5370 from zpao/babel6docs
...
Update docs for Babel 6
2015-11-02 16:58:17 -08:00
csbok
2b54e5417d
Update getting-started.ko-KR.md
...
correcting misspelled words
2015-11-03 09:56:41 +09:00
Paul O’Shannessy
bc3b32c968
[docs] Update tooling integration for more babel 6
2015-11-02 13:10:40 -08:00
Paul O’Shannessy
db7ea058e7
[docs] Update Getting Started for babel 6
2015-11-02 12:56:30 -08:00
Paul O’Shannessy
dbab71bbf4
Merge pull request #5350 from ludovicofischer/master
...
Correct Babel 6 command line usage instructions.
2015-11-02 11:42:44 -08:00
Paul O’Shannessy
72a11421d2
Merge pull request #5367 from spicyj/haste-manifest
...
Add package.json for react-haste package
2015-11-02 11:15:28 -08:00
Paul O’Shannessy
a82400faa2
Merge pull request #5366 from zpao/react-dom-peer-dep
...
Make React a peerDep of react-dom
2015-11-02 11:14:29 -08:00
Ben Alpert
d44c45f8a5
Add package.json for react-haste package
...
This will probably go away in a release or two.
2015-11-02 11:03:18 -08:00
Paul O’Shannessy
3c1c02394e
Make React a peerDep of react-dom
2015-11-02 10:19:04 -08:00
Roman Pominov
e9f931653d
fix shallowRenderer.getRenderOutput() return type in docs
2015-11-01 16:54:41 +03:00
Sergey Rubanov
57b0c8efd0
add Node 5 to devEngines
2015-11-01 04:55:33 +03:00
Ludovico Fischer
6e1f642273
Correct Babel 6 command line usage instructions.
...
The user should install the babel-cli package, see http://babeljs.io/docs/usage/cli/ .
2015-11-01 00:17:16 +01:00
Paul O’Shannessy
88bae3fb73
Merge pull request #5348 from hzoo/patch-2
...
add docs for babel 6
2015-10-31 12:11:26 -07:00
Henry Zhu
41fc5f21e5
add docs for babel 6
2015-10-31 14:34:20 -04:00
Jim
bbffc36534
Merge pull request #5344 from chicoxyzzy/update-rcc
...
maskedContext should not be instantiated as null
2015-10-30 18:23:55 -07:00
chico
8a9039891b
maskedContext should not be instantiated as null
2015-10-31 04:05:44 +03:00
Ben Alpert
c525732147
Merge pull request #5023 from spicyj/jsc-perf
...
Add rudimentary jsc perf-counters runner
2015-10-30 17:06:30 -07:00