MCPcopy Create free account
hub / github.com/TanStack/db / StrictModeWrapper

Function StrictModeWrapper

packages/react-db/tests/useLiveSuspenseQuery.test.tsx:581–585  ·  view source on GitHub ↗
({ children }: { children: ReactNode })

Source from the content-addressed store, hash-verified

579 )
580
581 const StrictModeWrapper = ({ children }: { children: ReactNode }) => (
582 <StrictMode>
583 <Suspense fallback={<div>Loading...</div>}>{children}</Suspense>
584 </StrictMode>
585 )
586
587 const { result } = renderHook(
588 () => useLiveSuspenseQuery((q) => q.from({ persons: collection })),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected