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

Function initialData

packages/react-query/src/__tests__/useQuery.test.tsx:3790–3792  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3788 )
3789 },
3790 initialData() {
3791 return filter === '' ? initialTodos : undefined
3792 },
3793 placeholderData: keepPreviousData,
3794 staleTime: 5000,
3795 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected