Dan Abramov
5f8f1f6c16
Delete the old ReactPerf
2016-05-03 14:21:28 +01:00
Pieter De Baets
222f5087fe
Move ReactIOS components to native subfolder ( #6643 )
...
* Move ReactIOS components to ReactNative
* Drop ReactNative subfolder
2016-05-03 14:05:33 +01:00
Jake Boone
393a1798fa
Grammar correction in ReactDOMInput.js warning ( #6657 )
...
Changed "a uncontrolled input" to "an uncontrolled input".
2016-05-02 15:23:22 -07:00
Brandon Dail
eb116482a3
Return early from enqueuePutListener for SSR ( #6678 )
2016-05-02 14:26:35 -07:00
Desmond Brand
db175052c0
Add links to docs for addons and top level API ( #6555 )
...
This makes it easier to figure out where the docs live.
Googling for e.g. `react-addons-update` also works, but this should
make things easier for people that hyperclick directly to the source.
2016-05-02 06:14:28 -07:00
Sasha Aickin
256753b830
Add test logic to make sure that events get tested when rendering on top of server-generated markup. ( #6668 )
2016-04-30 11:21:34 -07:00
Greg Hurrell
4f01b4b186
Remove errant console.log ( #6664 )
...
That crept in in c1e3f7ec14 .
2016-04-30 07:45:23 -07:00
Sebastian Markbåge
0e4b046634
Get rid of transformMatrix/decomposeMatrix special case ( #6660 )
...
This is no longer needed on the native side.
This is also the last use of the Platform flag. React Core is now
platform agnostic with regard to React Native. So I'll remove
the mocks and dependency.
2016-04-29 15:57:12 -07:00
Jason Quense
a02eeb59f5
Bail out of dedupe logic in cases where there is an incomplete value descriptor ( #6648 )
2016-04-29 15:21:01 -07:00
Jan Schär
3d31361cfb
Allow custom elements extending native ones ( #6570 )
...
...by passing the `is` attribute as the second param to `createElement`.
See http://webcomponents.org/polyfills/custom-elements/
2016-04-29 15:05:33 -07:00
Ben Alpert
c1e3f7ec14
Fix bug with double updates in a single batch ( #6650 )
...
Fixes #2410 . Fixes #6371 . Fixes #6538 .
I also manually tested the codepen in #3762 and verified it now works.
2016-04-29 14:02:51 -07:00
Dan Abramov
b7f6a642f6
Make ReactComponentTreeDevtool work with React Native
2016-04-29 16:13:21 +01:00
Dan Abramov
67b1dbf75f
Add new ReactPerf
2016-04-28 20:45:57 +01:00
Christoph Pojer
d07b554291
Merge pull request #6620 from cpojer/master
...
Update to Jest 12. Codemod to new Jest APIs.
2016-04-28 15:03:20 +09:00
cpojer
8e34514096
Update to Jest 12. Codemod to new Jest APIs.
2016-04-28 14:54:57 +09:00
Sebastian Markbåge
72ba5971ae
Use spread instead of deprecated merge utility ( #6634 )
2016-04-27 19:54:40 -07:00
Dan Abramov
b8f8360b5c
Merge pull request #6388 from gaearon/bye-bye-deprecated-utils
...
Remove OrderedMap and ReactPropTransferer
2016-04-27 20:36:39 +01:00
Dan Abramov
2723323006
Remove OrderedMap and ReactPropTransferer
...
These are not exposed publicly and have been deprecated.
2016-04-27 17:44:02 +01:00
Dan Abramov
aaadb31827
Add ReactNativeOperationHistoryDevtool to track native operations
2016-04-26 23:50:58 +01:00
Jim
8dfdac6780
ComponentWillUnmount should only ever be invoked once ( #6613 )
2016-04-25 18:06:30 -07:00
Dan Abramov
76a4c46dba
Merge pull request #6549 from gaearon/instrumentation-new
...
Provide info about component tree to devtools
2016-04-26 01:12:23 +01:00
Dan Abramov
a9e0896af8
Mute devtool events for TopLevelWrapper and empty components
2016-04-26 01:02:45 +01:00
Dan Abramov
7dbc95f379
Merge pull request #6605 from gaearon/fix-warning-condition
...
Fix the warning condition in ReactDebugTool and ReactDOMDebugTool
2016-04-25 20:16:52 +01:00
Dan Abramov
1f97103d7b
Flip the warning condition in ReactDebugTool and ReactDOMDebugTool
...
The current warning condition caused the first error to be swallowed, and all the next errors to be logged. I believe the intention was the opposite: to log the first error, and to ignore any next errors for the same method.
2016-04-25 00:41:53 +01:00
Dan Abramov
f89f94d145
Add tests for ReactDebugTool and ReactDOMDebugTool
2016-04-25 00:41:32 +01:00
Dan Abramov
acd67c368d
Remove isComposite and hide TopLevelWrapper
2016-04-25 00:05:04 +01:00
Dan Abramov
9f16003e69
Assert that unmounted instances are in the tree until purged
2016-04-24 01:53:53 +01:00
Dan Abramov
829558b8b0
Refactor how native container ID is stored
2016-04-23 22:27:40 +01:00
Sebastian Markbåge
69b6869a3e
Ignore events fired on missing React Native instances
...
This can happen if something gets unmounted before the event gets
dispatched. I'm not sure how this works out exactly but this
preserves previous behavior in this scenario.
2016-04-23 13:10:00 -07:00
Dan Abramov
900a588f63
Add safeguards to ReactComponentTreeDevtool
2016-04-23 02:23:16 +01:00
Sebastian Markbåge
2f2ed71bd0
Merge pull request #6588 from sahrens/patch-3
...
Delete ReactNativeGlobalInteractionHandler.js
2016-04-22 16:55:08 -07:00
Sebastian Markbåge
aacb5467a0
Merge pull request #6584 from sahrens/patch-1
...
[RN] Don't hold interaction handles for all touches
2016-04-22 16:54:59 -07:00
Spencer Ahrens
63fbc3f72e
Delete ReactNativeGlobalInteractionHandler.js
...
Depends on https://github.com/facebook/react/pull/6584 to no longer reference is. See FB task #10926500
2016-04-22 16:53:34 -07:00
Spencer Ahrens
1fc7487eaa
Move PanResponder back to react-native repo temporarily.
...
We have some more work to do with this before we can pull it out of react-native. FB Task #10926500
2016-04-22 16:37:00 -07:00
Spencer Ahrens
983a365f74
[RN] Don't hold interaction handles for all touches
...
We don't want to hold handles while doing native scrolling, etc.
FB Task: #10926500
2016-04-22 16:22:44 -07:00
Dan Abramov
df3c85886e
Stop exposing ReactComponentTreeDevtool internal tree directly
2016-04-22 15:45:35 +01:00
Dan Abramov
1ebffa59fe
ReactComponentTreeDevtool should ignore TopLevelWrapper
2016-04-22 02:42:29 +01:00
Ike Peters
9df54e0fce
properly handling invalid scryRenderedDOMComponentsWithClass args ( #6529 )
...
properly handling invalid scryRenderedDOMComponentsWithClass args
properly handle invalid scryRenderedDOMComponentsWithClass args
2016-04-21 17:09:04 -07:00
Esteban
416f315c96
Fix return type in onlyChild's JSDoc ( #6573 )
...
The return type is a 'ReactElement' instead of a 'ReactComponent'.
2016-04-21 16:02:20 -07:00
Ben Alpert
0dc9b91017
Merge pull request #6572 from spicyj/rn-batch
...
Batch event handling in React Native
2016-04-21 15:14:56 -07:00
Ben Alpert
9f11f8c263
Batch event handling in React Native
...
This fixes an issue where handling events on a node that was just removed threw a "All native instances should have a tag." error and matches what we do in the DOM renderer in ReactEventListener.
2016-04-21 15:06:48 -07:00
Esteban
9462d0d040
Fix mapFunction parameters in mapChildren's JSDoc ( #6569 )
...
Remove 'key' parameter from 'mapFunction(child, key, index)'. It is no longer called with 'key'.
2016-04-21 14:28:08 -07:00
Dan Abramov
e20d366ea8
Fix expect() slipping into the non-test code
2016-04-21 22:23:35 +01:00
Dan Abramov
1f2e78359f
No need for a special case here
2016-04-21 18:56:42 +01:00
Dan Abramov
ab0ef89ec7
Track parentID for ReactPerf
2016-04-21 17:59:31 +01:00
Dan Abramov
f530b977ec
Test ReactComponentTreeDevtool specifically
2016-04-21 17:32:56 +01:00
Dan Abramov
b5997c8e7b
Extract ReactComponentTreeDevtool
2016-04-21 17:31:04 +01:00
Dan Abramov
835ca9bca3
Clean up the devtool tree on server rendering
2016-04-21 02:37:58 +01:00
Dan Abramov
af3603ea2f
Devtools should be able to clean up the tree on client rendering
2016-04-20 19:11:38 +01:00
Dan Abramov
367594a213
Enforce that info about children is available by the time onSetChildren() fires
2016-04-20 18:20:14 +01:00