Brian Vaughn
0abaefb7c2
Cleanup legacy backend event listener if modern backend is detected
2019-07-19 09:02:30 -07:00
Brian Vaughn
dbbf30a332
Make my code PRETTIER
2019-07-18 16:37:57 -07:00
Brian Vaughn
67e749a73a
Tweaked modal font size style
2019-07-18 16:28:20 -07:00
Brian Vaughn
bd0a0c58fd
Tweaked modal title to better fit without wrapping
2019-07-18 16:26:27 -07:00
Brian Vaughn
249a2e043d
Detect React Native v3 backend and show warning
2019-07-18 16:24:22 -07:00
Brian Vaughn
9fb753b5cd
Hardened logic around when and how to patch console methods
2019-07-17 15:08:34 -07:00
Brian Vaughn
cb3fb42129
Patch console to append component stacks ( #348 )
...
* Patch console.warn and console.error to auto-append owners-only component stacks.
This setting is enabled by default and will work for React Native even if no front-end DevTools shell is being used. The setting can be disabled via a new, persisted user preference though.
2019-07-17 11:12:39 -07:00
Brian Vaughn
0f2fb5badf
Standalone NPM packages and React Native support ( #335 )
...
* Add version 4 react-devtools and react-devtools-core packages which support both React Native and e.g. Safari or iframe DOM usage.
* Replaces typed operations arrays with regular arrays in order to support Hermes. This is unfortunate, since in theory a typed array buffer could be more efficiently transferred between frontend and backend for the web extension, but this never actually worked properly in v8, only Spidermonkey, and it fails entirely in Hermes so for the time being- it's been removed.
* Adds support for React Native (paper renderer)
* Adds a style editor for react-native and react-native-web
2019-07-13 10:05:04 -07:00
Dominic Gannaway
89a0886872
[Flare] Update event component displayName
2019-06-19 17:43:15 +01:00
Brian Vaughn
abc8ef3d5d
Display unnamed custom hooks as 'Anonymous'
2019-06-18 11:37:29 -07:00
Brian Vaughn
a2c79f2d9e
Fixed hydration for events meta data
2019-06-18 10:50:19 -07:00
Brian Vaughn
cf19916be7
Tweaked overflow check
2019-06-18 08:59:27 -07:00
Brian Vaughn
46def793de
Merge branch 'when-render-hidden' of https://github.com/justingrant/react-devtools-experimental into justingrant-when-render-hidden
2019-06-18 08:52:08 -07:00
Brian Vaughn
6298fd4248
Hardened the hooks dehydration check
2019-06-18 08:47:37 -07:00
Brian Vaughn
a56fd4c36d
Tidied up. Added comments. Renamed a few things.
2019-06-18 08:40:58 -07:00
Brian Vaughn
8e3cd8ab1e
Debounce inspect-element polling
2019-06-18 07:41:30 -07:00
Brian Vaughn
6c03f6abbd
Tidied up a bit
2019-06-17 14:49:19 -07:00
Brian Vaughn
d3d8a5d8b1
Hooks hydrate/dehydrate
2019-06-17 14:30:34 -07:00
Brian Vaughn
7a94ad4e8a
Added props/state/context inspection to KeyValue
2019-06-17 11:30:53 -07:00
Brian Vaughn
a6d3f30f95
Initial support for hydration added to both renderer interfaces.
2019-06-16 17:32:37 -07:00
Justin Grant
a15f776708
fix: ensure when-rendered content is never hidden
2019-06-15 09:24:37 -07:00
Brian Vaughn
5e8678a0a9
Don't send HTMLElements through the bridge when inspecting componetns
2019-06-13 09:09:31 -07:00
Brian Vaughn
9eb6d3465d
Updated React version check to account for older (<15) versions
2019-06-12 18:56:39 -07:00
Brian Vaughn
96f7646a1a
Updated hydration logic to handle custom objects
2019-06-12 15:43:15 -07:00
Brian Vaughn
cb10c3d6da
Lintfix
2019-06-12 15:17:29 -07:00
Brian Vaughn
f6ec82553d
Support toggling Suspense from within owners list
2019-06-12 15:13:51 -07:00
Dan
4bfabbc32b
Fix owner tree for legacy backend
2019-06-12 17:56:25 +01:00
Dan
fdf753021e
Distinguish functions and classes
2019-06-12 17:23:29 +01:00
Dan
3137553f6d
State and context are on the public instance
2019-06-12 16:50:15 +01:00
Dan
f352fe2625
Maintain rootID for lazily crawled trees
2019-06-12 16:38:35 +01:00
Dan
b5850fe304
Ignore SSR mounts
2019-06-12 16:15:58 +01:00
Dan Abramov
3bca6b28cd
Make children selection lighter
2019-06-10 20:10:24 -06:00
Brian Vaughn
dd748ef574
Moved logic to only send updated filters across Bridge to the Store (and added tests)
2019-06-10 15:36:29 -07:00
Brian Vaughn
91e3f6cd4d
Removed console.log
2019-06-10 15:05:12 -07:00
Brian Vaughn
e2e598c824
Remember last preferences tab via local storage
2019-06-10 15:03:05 -07:00
Brian Vaughn
19ed98d0c2
Removed Settings panel in favor of new shared Settings modal
2019-06-10 14:57:26 -07:00
Brian Vaughn
402a68d816
Fixed minor border bug in Profiling tab toolbar
2019-06-10 11:14:27 -07:00
Brian Vaughn
80bf1ba0eb
Merge branch 'master' into legacy
2019-06-09 16:00:12 -07:00
Brian Vaughn
ea03ddd583
Added Flow type coverage for all EventEmitter subclasses
2019-06-09 15:50:17 -07:00
Brian Vaughn
3904d634bb
Added an explicit 'did not render' label
2019-06-08 17:36:17 -07:00
Brian Vaughn
341d1574cb
Tweaked a few inline comments
2019-06-08 17:30:11 -07:00
Brian Vaughn
9047f371e2
Fix minor toolbar border misalignment
2019-06-08 17:18:05 -07:00
Brian Vaughn
4f92af17ea
Only show "rendered at" if selected Fiber committed at least once
2019-06-08 17:17:56 -07:00
Brian Vaughn
7a72ee5ac0
Added context changes to sidebar; fixed a initial-mount detection bug
2019-06-08 17:01:38 -07:00
Brian Vaughn
5672d686dc
Fixed some minor CSS issues
2019-06-08 16:45:38 -07:00
Brian Vaughn
6ab522326d
Added a test for added/removed props
2019-06-08 11:41:39 -07:00
Brian Vaughn
a2f469d742
Fixed an increment bug in sidebar for fiber-commits
2019-06-08 09:22:30 -07:00
Brian Vaughn
2d48401346
Added context support to change description
2019-06-08 09:10:54 -07:00
Dan Abramov
fdc5ca4ba6
Remove dead code
2019-06-07 18:42:12 -07:00
Dan Abramov
90fa0adc0a
Fix lint
2019-06-07 18:37:24 -07:00