Skip to content
Source
Sign inSign up
TanStack/router

perf(router-devtools-core): avoid idle polling and repeated styles #8266

OpenLadyBluenotes(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromperf/devtools-idle-and-stylesopened

Showing 7 changed files with 30 additions and 19 deletions (loading 4).

x
0 of 7 viewed, 7 left
5 additions and 0 deletions.changeset/polite-loops-send.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/router-devtools-core': patch
+---
+​
+Pause route-cache polling while the floating devtools panel is closed and reuse shared styles within each devtools mount.
9 additions and 5 deletionspackages/router-devtools-core/src/BaseTanStackRouterDevtoolsPanel.tsxModified
View file
@@ -16,6 +16,7 @@
createMemo,
createSignal,
onCleanup,
+ splitProps,
untrack,
} from 'solid-js'
import { useDevtoolsOnClose } from './context'
@@ -253,18 +254,18 @@
​
export const BaseTanStackRouterDevtoolsPanel =
- function BaseTanStackRouterDevtoolsPanel({
- ...props
- }: BaseDevtoolsPanelOptions): JSX.Element {