Brian Vaughn
9a2f9ac880
Moved getElementDimensions() back into Overlay component
2019-04-07 09:42:52 -07:00
Brian Vaughn
d686b9d890
Merge branch 'owner-stack-enhancement' of https://github.com/hristo-kanchev/react-devtools-experimental into hristo-kanchev-owner-stack-enhancement
2019-04-07 09:13:33 -07:00
Brian Vaughn
2b868821d5
Improved keyboard navigation for tabs, interactions, and fiber-commits
2019-04-07 09:00:52 -07:00
Brian Vaughn
44c0febd23
Profiler shows commit times and durations for selected fiber
2019-04-07 08:36:37 -07:00
Hristo Kanchev
2620050abf
Removed unneeded min-height. Using throttle for resize function.
2019-04-07 11:48:35 +02:00
Hristo Kanchev
ce04f531d4
Implemented new OwnerStack UI enhancement
2019-04-07 11:37:12 +02:00
Brian Vaughn
5334249bda
Fixed a typo in flamegraph duration label
2019-04-06 18:01:44 -07:00
Brian Vaughn
d766d3b2e5
Throttle screenshots to reduce impact on performance.
2019-04-06 13:58:55 -07:00
Nicolas Gallagher
81a61b1d1a
React events: add delay props to Press module ( #15340 )
...
* Add delay props to Press event module
* Minor naming changes to Hover events
* Add examples to react-events README
2019-04-06 13:47:28 -07:00
Brian Vaughn
bfcef10af3
Merge pull request #84 from gaearon/dead
...
Remove dead code
2019-04-06 13:37:50 -07:00
Dan
9fc2a3400c
Remove dead code
2019-04-06 21:36:08 +01:00
Dan
99593444b9
Address review
2019-04-06 21:30:57 +01:00
Dan
785bb9f56c
Continuously update tree selection in DOM inspection mode
2019-04-06 20:27:36 +01:00
Dan Abramov
985fe59826
Merge pull request #81 from gaearon/overlay-owner
...
Show owner in DOM highilght overlay
2019-04-06 18:26:50 +01:00
Dan
5eec8aed33
Nit
2019-04-06 18:26:17 +01:00
Dan
ab9c1b84c8
Show owner in DOM highilght overlay
2019-04-06 17:07:06 +01:00
Dominic Gannaway
4064ea9fa6
Experimental event API: Support EventComponent onUnmount responder callback ( #15335 )
2019-04-06 08:16:57 +01:00
Dominic Gannaway
4fbbae8afa
Add full TouchHitTarget hit slop (experimental event API) to ReactDOM ( #15308 )
2019-04-06 07:51:21 +01:00
Dan Abramov
72d9f0597a
Merge pull request #71 from gaearon/suspense-special
...
Fix Suspense fragment edge cases
2019-04-05 23:59:17 +01:00
Dan
d3d5c050bd
Naming
2019-04-05 23:45:34 +01:00
Dan
7a03c5a885
Update the commit tree to assume operations do not repeat
2019-04-05 23:42:02 +01:00
Dan
80d9d8d841
Fix profiler and nits
2019-04-05 23:34:27 +01:00
Dan
0f536bba5c
Rewrite the Suspense logic
2019-04-05 23:12:57 +01:00
Dan Abramov
d6257d382d
Expand the test fixture
2019-04-05 21:49:37 +01:00
Dan
9bcd5b2576
Fix Suspense fragment edge cases
2019-04-05 21:49:37 +01:00
Dan Abramov
387ad54d80
Merge pull request #75 from gaearon/fix-double-add
...
Fix double-adding fibers when traversing
2019-04-05 18:45:42 +01:00
Dan Abramov
2a5b8a9206
Hard crash
2019-04-05 18:41:26 +01:00
Dan Abramov
96a7adf49e
Add error logs in __DEBUG__
2019-04-05 18:27:02 +01:00
Dan Abramov
9170e5695a
Fix double-adding fibers when traversing
2019-04-05 18:18:39 +01:00
Brian Vaughn
0c8129c78a
Sync selected Profiler node back to the Components tab
...
Also show element keys in Profiler charts
2019-04-05 08:47:23 -07:00
Brian Vaughn
d1a5346c48
Improved keyboard UX and focus UI for Tree and OwnersStack
2019-04-05 08:08:02 -07:00
Dan Abramov
632647fbac
Merge pull request #61 from gaearon/toggle-suspense-2
...
Allow to toggle Suspense in Components pane
2019-04-05 13:22:41 +01:00
Dan
b8245de5a1
Nits
2019-04-05 13:19:39 +01:00
Dan Abramov
48a5aca127
Fix highlighting timed out Suspense DOM node
2019-04-05 13:19:35 +01:00
Dan Abramov
4f5437edf7
Allow to toggle Suspense in Components pane
2019-04-05 13:19:30 +01:00
Nicolas Gallagher
958b6173fd
Add delay props to Hover event module ( #15325 )
2019-04-05 12:23:51 +01:00
Nicolas Gallagher
c3cc936dae
Add Hover,Focus,Press docs to REAMDE ( #15328 )
2019-04-05 11:58:04 +01:00
Brian Vaughn
bfbb4ac545
Merge pull request #72 from gaearon/search-bug
...
Don't move selection unless search text increased length
2019-04-04 17:55:12 -07:00
Dan
a8e46c67e6
Don't move selection unless search text increased length
2019-04-05 00:49:27 +01:00
Andrew Clark
49595e921d
[New Scheduler] Fix: Suspending an expired update ( #15326 )
...
When an async update expires, React renders at the expiration time that
corresponds to the current time, not at the original update's expiration
time. That way, all the expired work in the tree is flushed in a
single batch.
This is implemented inside `renderRoot` by comparing the next render
expiration time to the current time. If the current time is later,
`renderRoot` will restart at the later time.
Because of poor factoring, the check is currently performed right before
entering the work loop. But the work loop is usually entered multiple
times in a single callback: each time a component throws or suspends.
This led to an infinite loop where React would detect that an update
expired, restart at the current time, make a bit of progress, suspend,
check for expired work again, and start the loop again.
I fixed this by moving the expired work check to the beginning of
`renderRoot`, so that it is not performed every time something suspends.
This isn't ideal, because you could technically still fall into a loop
if more than 10ms lapse in between exiting `renderRoot` and entering it
again. The proper fix is to lift the check outside of `renderRoot`
entirely so that the function can restart without checking for expired
work again. Since this is exceedingly unlikely (and this whole thing is
still behind a flag), I'll do the better fix in an already-planned
follow up to fork `renderRoot` into separate functions for sync and
async work.
2019-04-04 16:31:22 -07:00
Brian Vaughn
16951fe7fb
Merge pull request #70 from gaearon/free-debug
...
Explicitly guard debug calls
2019-04-04 16:12:45 -07:00
Dan
2928a0be74
Explicitly guard debug calls
2019-04-05 00:03:17 +01:00
Dominic Gannaway
b93a8a9bb8
Experimental event API: refactor responder modules for lifecycle inclusion ( #15322 )
2019-04-04 23:28:23 +01:00
Brian Vaughn
9b05184ccb
Merge pull request #63 from gaearon/smarter-search-match
...
Match search at word boundaries
2019-04-04 14:41:08 -07:00
Brian Vaughn
6c5c2cd3ad
Renamed innerElementType -> InnerElementType to avoid confusing hooks lint rule
2019-04-04 14:10:14 -07:00
Brian Vaughn
8d435595cd
Added truncation UI indicator for hooks. Addressed lint rule violations.
2019-04-04 14:09:10 -07:00
Brian Vaughn
11d068d794
Merge branch 'fix-nested-hooks' of https://github.com/gaearon/react-devtools-experimental into gaearon-fix-nested-hooks
2019-04-04 13:54:41 -07:00
Brian Vaughn
64b0fd8ecd
Fixed owners header font family too
2019-04-04 13:52:53 -07:00
Brian Vaughn
43782e6696
Merge branch 'larger-items' of https://github.com/gaearon/react-devtools-experimental into gaearon-larger-items
2019-04-04 13:48:24 -07:00
Brian Vaughn
93f83d27dd
Merge pull request #66 from gaearon/dont-dismiss-menu
...
Stop mouseup propagation while inspecting
2019-04-04 13:47:59 -07:00