react-native/Libraries/Inspector
Spencer Ahrens 5c9b46c15e Improve touchable debugging
Summary:Set `Touchable.TOUCH_TARGET_DEBUG` to see colored borders/text to all touchables.

Different touchable types are color-coded differently.

If there is `hitSlop`, it will be rendered with an extra view with a dashed border of the same color (not visible on
Android because `overflow: 'hidden'`).

`Text` with `onPress` directly set is just colored.

Added some extra checks to `TouchableWithoutFeedback` since it could silently break if the child is not a native
component.

Also added better error output for `ensureComponentIsNative` so it's easier to track down issues. I really wish there
was a cleaner way to get the component and owner names consistently, it would help make good debug messages way easier
to write.

Reviewed By: ericvicenti

Differential Revision: D3149865

fb-gh-sync-id: 602fc3474ae7636e32af529eb7ac52ac5b858030
fbshipit-source-id: 602fc3474ae7636e32af529eb7ac52ac5b858030
2016-04-14 14:28:31 -07:00
..
BorderBox.js [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00
BoxInspector.js [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00
ElementBox.js [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00
ElementProperties.js Fix warnings generated by Elements Inspector 2016-01-25 18:43:47 -08:00
Inspector.js React.findNodeHandle -> ReactNative.findNodeHandle 2016-04-07 19:44:31 -07:00
InspectorOverlay.js [react native] prepare the react native inspector for the new react devtools 2015-07-14 12:35:43 -08:00
InspectorPanel.js Improve touchable debugging 2016-04-14 14:28:31 -07:00
InspectorUtils.js [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00
PerformanceOverlay.js Fix perf tab missing key warnings 2016-04-07 23:38:32 -07:00
StyleInspector.js Fix warnings of StyleInspector 2016-02-10 08:40:39 -08:00
resolveBoxStyle.js [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00