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

Function initialData

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

Source from the content-addressed store, hash-verified

3821 )
3822 },
3823 initialData() {
3824 return filter === '' ? initialTodos : undefined
3825 },
3826 placeholderData: keepPreviousData,
3827 staleTime: 5000,
3828 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected