Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

index.tsx

9 lines287 Bytes

1import { isDev } from 'solid-js/web'
2import { clientOnly } from './devtools'
3import type SolidQueryDevtoolsComp from './devtools'
4​
5export const SolidQueryDevtools: typeof SolidQueryDevtoolsComp = isDev
6 ? clientOnly(() => import('./devtools'))
7 : function () {
8 return null
9 }