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

Function initialData

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

Source from the content-addressed store, hash-verified

3759 )
3760 },
3761 initialData() {
3762 return filter === '' ? initialTodos : undefined
3763 },
3764 placeholderData: keepPreviousData,
3765 staleTime: 5000,
3766 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected