Commit Graph
5722 Commits
Author SHA1 Message Date
Paul O’Shannessy c19ee24c9f Update readme for 0.14.2
(cherry picked from commit 01622a4442c10ab983f8dfe9619a1bdb056f271b)
2015-11-04 17:38:31 -08:00
Paul O’Shannessy 7a5f4adf82 Blog post for 0.14.2
(cherry picked from commit a4fd08973bb7d41d1d36420c76f69142e8d102f6)
2015-11-04 17:38:31 -08:00
Paul O’Shannessy 835a5969c8 Changelog for 0.14.2
(cherry picked from commit c2dd57c6a68b642cc46568f9d957cfdd300a2e14)
2015-11-04 17:38:31 -08:00
Paul O’Shannessy fcbc7b6276 Merge pull request #5353 from chicoxyzzy/patch-1
add Node 5 to devEngines
2015-11-04 15:02:26 -08:00
Jim e23a4e5831 Merge pull request #5385 from marocchino/update-korean
Update korean translation to 74b7584
2015-11-04 13:57:00 -08:00
ArkistandShim Won 271d3a1b7f Update Korean translation to 74b7584 2015-11-05 06:56:48 +09:00
Ben Alpert 368f21874e 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 22773673ca Don't put IDs in the DOM in createElement mode 2015-11-04 11:39:44 -08:00
Ben Alpert 94e271a48f Add hooks back for devtools 2015-11-04 11:39:44 -08:00
Ben Alpert 9df6c7387c 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 64febc7706 Remove now-unused _rootNodeID from composites 2015-11-04 11:39:44 -08:00
Ben Alpert 3b105e767d Use incrementing numerical IDs to identify DOM components 2015-11-04 11:39:44 -08:00
Ben Alpert 3d419885ee 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 b18fad80f6 Stop relying on hierarchical IDs in ReactDefaultPerf 2015-11-04 11:39:43 -08:00
Ben Alpert 3e5a347724 Perf: Static children count for wasted time 2015-11-04 11:39:43 -08:00
Ben Alpert d9a5036216 Kill ReactMount.getNode/getID/purgeID with fire 2015-11-04 11:39:43 -08:00
Ben Alpert 17ab4eb26c 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 c5ff9e8b19 Propagate events based on component tree, not IDs 2015-11-04 11:39:43 -08:00
Ben Alpert c58b908af8 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 ab93970342 Add functions to find the instance given a node 2015-11-03 17:03:40 -08:00
Ben Alpert 68eeb10f5f 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 0e263e01a0 Always do useCreateElement for updates
Initial render can still be a markup string.
2015-11-03 17:03:40 -08:00
Ben Alpert 95f4e25fff Make ReactDOMComponent-test pass with useCreateElement 2015-11-03 17:03:40 -08:00
Ben Alpert 6ed33cea77 Remove obsolete tests with new tree-walking 2015-11-03 17:03:40 -08:00
Ben Alpert 1be59d8ec9 Make ReactEmptyComponent-test not swallow logs 2015-11-03 17:03:40 -08:00
Jim 74b7584215 Merge pull request #5372 from csbok/patch-1
Update getting-started.ko-KR.md
2015-11-03 03:44:31 -08:00
Ben Alpert 834a100d02 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 e8e3ac5a4f 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 5fa7b22f49 Merge pull request #5376 from spicyj/gh-4993
Test fixups after #4993
2015-11-02 18:27:25 -08:00
Ben Alpert 25e38a609a Test fixups after #4993 2015-11-02 18:26:52 -08:00
Ben Alpert ba980d3c71 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 db320c5f9e 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 2dbb0e7b99 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 b277dcf584 Show a friendly error when using TestUtils.Simulate with shallow rendering 2015-11-02 20:14:26 -05:00
Paul O’Shannessy ba2014216f Merge pull request #5370 from zpao/babel6docs
Update docs for Babel 6
2015-11-02 16:58:17 -08:00
csbok 20ddde3e25 Update getting-started.ko-KR.md
correcting misspelled words
2015-11-03 09:56:41 +09:00
Paul O’Shannessy 97c44f18ce [docs] Update tooling integration for more babel 6 2015-11-02 13:10:40 -08:00
Paul O’Shannessy d07cff8d5a [docs] Update Getting Started for babel 6 2015-11-02 12:56:30 -08:00
Paul O’Shannessy 145f19b711 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 fc1f84fe33 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 df966f742a 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 6e6494b981 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 01cf7b60fb Make React a peerDep of react-dom 2015-11-02 10:19:04 -08:00
Roman Pominov b3dc3be3a7 fix shallowRenderer.getRenderOutput() return type in docs 2015-11-01 16:54:41 +03:00
Sergey Rubanov e3869c6427 add Node 5 to devEngines 2015-11-01 04:55:33 +03:00
Ludovico Fischer 3cccf94986 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 393d48e8d3 Merge pull request #5348 from hzoo/patch-2
add docs for babel 6
2015-10-31 12:11:26 -07:00
Henry Zhu d5fd2b2582 add docs for babel 6 2015-10-31 14:34:20 -04:00
Jim 52c6a9e1fc Merge pull request #5344 from chicoxyzzy/update-rcc
maskedContext should not be instantiated as null
2015-10-30 18:23:55 -07:00
chico 46246fc99b maskedContext should not be instantiated as null 2015-10-31 04:05:44 +03:00