Skip to content
Source
Sign inSign up
TanStack/query

feat(query-devtools): Lazyload Query Devtools Core #5527

Mergedardeora(GitHub profile, opens in a new tab)merged 1 commit intoalpha fromrefs/pull/5527/headmerged by ardeora(GitHub profile, opens in a new tab) View on GitHub

Showing 7 changed files with 70 additions and 21 deletions (loading 3).

x
0 of 7 viewed, 7 left
40 additions and 0 deletionspackages/query-devtools/src/Devtools.tsxModified
View file
@@ -20,6 +20,7 @@
getQueryStatusColorByLabel,
sortFns,
convertRemToPixels,
+ getSidedProp,
} from './utils'
import {
ArrowDown,
@@ -82,6 +83,8 @@
​
+export default DevtoolsComponent
+​
export const Devtools = () => {
loadFonts()
​
@@ -315,6 +318,42 @@
setSettingsOpen(false)
​
+ createEffect(() => {
+ const rootContainer = panelRef.parentElement?.parentElement?.parentElement