Dan Abramov
af1a21289b
Merge pull request #6628 from sheerun/patch-1
...
Document stateless components in formal types
2016-04-28 13:28:06 +01:00
Adam Stankiewicz
16f64c4499
Document stateless components in formal types
2016-04-28 13:47:59 +02:00
Paul O’Shannessy
096e5c7cf7
Ensure babelrc file gets packaged for starter kit ( #6617 )
2016-04-28 00:24:58 -07:00
Christoph Pojer
64401150a0
Merge pull request #6638 from cpojer/master
...
Update Jest’s grunt task.
2016-04-28 16:21:54 +09:00
cpojer
681a463240
Update Jest’s grunt task.
2016-04-28 16:08:20 +09: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
3bdf09e86f
Merge pull request #6612 from gaearon/instrumentation-new-operations
...
Add ReactNativeOperationHistoryDevtool to track native operations
2016-04-27 19:03:55 +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
Yan Li
71179459de
adds ReactRally & Reactive 2016 + conf locations ( #6623 )
2016-04-26 15:12:13 -07:00
Dan Abramov
f5b20bf79c
Try enabling coverage again
...
It was disabled in d138b286db .
We should have more Travis instances now so it shouldn't run out of memory.
2016-04-26 13:21:41 +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
Stolenkid
aeda84602f
fixed a minor typo ( #6600 )
2016-04-25 14:37:52 -07: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
z.ky
f4e608fc2e
Update tutorial - add link for starting server ( #6602 )
...
To be extra helpful to beginners, and avoid questions like this: http://stackoverflow.com/questions/35758956/react-tutorial-how-do-i-start-the-server
2016-04-25 11:20:47 -07: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
Sebastian Markbåge
ea504521d5
Merge pull request #6587 from sahrens/patch-2
...
Move PanResponder back to react-native repo temporarily.
2016-04-22 16:44:26 -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
Paul O’Shannessy
5ddfee8cfe
Merge pull request #6576 from yuji0602/tutorial_md_sample_json_change
...
Changed example json value.
(cherry picked from commit ec036ed185 )
2016-04-22 13:08:48 -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
Minwei Xu
b7a2409919
ref-09-webcomponents.zh-CN.md ( #6561 )
2016-04-20 20:07:02 -07: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
Paul O’Shannessy
bddecc9696
Merge pull request #6553 from zpao/cleanuppkg
...
Clean up package.json after #6338
2016-04-20 10:34:44 -07:00