MCPcopy Create free account
hub / github.com/TanStack/query / initialData

Function initialData

packages/preact-query/src/__tests__/useQuery.test.tsx:3768–3770  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3766 )
3767 },
3768 initialData() {
3769 return filter === '' ? initialTodos : undefined
3770 },
3771 placeholderData: keepPreviousData,
3772 staleTime: 5000,
3773 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected