Paul O’Shannessy
eecd2953cd
Merge pull request #5416 from bbrooks/undo-optimistic-update-on-error
...
Reset state if comment submit fails
2015-11-10 14:42:28 -08:00
Jim
d6a547f793
Merge pull request #5403 from yuyokk/patch-1
...
Clarify note about stable keys
2015-11-10 10:28:49 -08:00
Iurii Kucherov
30ca6619dc
State that Math.random() is not a good way to generate keys
2015-11-10 19:02:50 +01:00
Ben Alpert
b4b1adddda
Merge pull request #5434 from spicyj/two-reconcile
...
Handle multiple DOM updates without interference
2015-11-09 17:38:11 -08:00
Ben Alpert
4b80ea23a1
Merge pull request #5433 from spicyj/unmount-children-order
...
Unmount children before unsetting DOM node info
2015-11-09 17:38:06 -08:00
Ben Alpert
f9a8bdcafe
Handle multiple DOM updates without interference
...
This test failed before! How embarrassing.
2015-11-09 15:22:23 -08:00
Ben Alpert
586653935c
Unmount children before unsetting DOM node info
2015-11-09 15:04:57 -08:00
Jim
95da62765e
Merge pull request #5430 from jimfb/changelog-broken-links
...
Fixed broken links in changelog
2015-11-09 11:28:15 -08:00
jim
5bdb808a46
Fixed broken links in changelog
2015-11-09 11:11:05 -08:00
Jim
a88c39be86
Merge pull request #5424 from stowball/animation-docs-whitespace
...
Removed unnecessary whitespace before closing bracket
2015-11-09 09:12:49 -08:00
Matt Stow
bc0dc86ae6
Removed unnecessary whitespace before closing bracket
2015-11-09 15:10:01 +11:00
Ben Brooks
240d7c82cc
Reset state if comment submit fails
2015-11-07 13:26:17 -05:00
Ben Alpert
99fbde54a1
Merge pull request #5287 from benhalpern/patch-1
...
Updated conference page
2015-11-05 13:58:46 -08:00
benhalpern
00eddc2060
Fixed ReactEurope date
2015-11-05 15:33:52 -05:00
Jim
2f7f1a9d45
Merge pull request #5405 from yangshun/inconsistent-error-messages
...
More consistent error message for findRenderedDOMComponentWithX
2015-11-05 12:03:05 -08:00
Tay Yang Shun
d16754125f
More consistent error message for findRenderedDOMComponentWithX
2015-11-06 03:05:08 +08:00
Jim
59dd7b33ee
Merge pull request #5391 from zjjw/transition_timeouts
...
Clear transition timeouts when component unmounts. Fixes #4876
2015-11-05 10:32:18 -08:00
jj
73b496db95
Clear transition timeouts when component unmounts. Fixes #4876
2015-11-05 10:23:15 -08:00
Jim
22b8952fbf
Merge pull request #5231 from davidkpiano/patch-1
...
Updating "JSX Gotchas" docs for Custom Attributes
2015-11-05 09:43:36 -08:00
Paul O’Shannessy
6d5fe44c86
Merge pull request #5396 from zpao/packagejsons
...
Improve npm packages' metadata
2015-11-04 21:29:35 -08:00
Paul O’Shannessy
88584a96b7
Generate better readmes for addons npm packages
2015-11-04 21:25:28 -08:00
Paul O’Shannessy
2f6fb746b9
Make sure npm packages have repo and keywords set
2015-11-04 21:25:28 -08:00
Paul O’Shannessy
9b7cc43330
Merge pull request #5352 from chicoxyzzy/eslint-upgrade
...
remove eslint-disable when possible and update babel-eslint version
2015-11-04 18:17:23 -08:00
chico
b9fd77a4bd
update eslint and eslint-plugin-react
2015-11-05 05:14:51 +03:00
chico
4a7456a136
review fixes
2015-11-05 05:11:39 +03:00
chico
8987522a2a
remove eslint-disable when possible and update eslint version
2015-11-05 05:11:39 +03:00
Ben Alpert
e131357c23
Merge pull request #5394 from spicyj/tu-shallow-ref
...
Revert #4993 with an added test for refs
2015-11-04 18:00:27 -08:00
Ben Alpert
9419976e51
Revert #4993 with an added test for refs
...
We were shallow-rendering a component that used refs at FB so this can't go in as-is. It's a little unclear what we _should_ do though, since there is nothing to hold a ref to (since we're shallowly rendering) and we generally promise that child refs are resolved before a parent's componentDidMount. Also, changing shallow rendering to use the original `_renderValidatedComponent` (instead of `_renderValidatedComponentWithoutOwnerOrContext`) breaks tests because now the `_owner` field doesn't match up for `toEqual` (non-null in `getRenderOutput` but null if constructed in a test).
2015-11-04 17:53:40 -08:00
Paul O’Shannessy
578312e267
Update website for 0.14.2
...
(cherry picked from commit fdf6f6bbb0 )
2015-11-04 17:38:31 -08:00
Paul O’Shannessy
76bbd9e660
Update readme for 0.14.2
...
(cherry picked from commit 01622a4442 )
2015-11-04 17:38:31 -08:00
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