Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ initialData
Function
initialData
packages/preact-query/src/__tests__/useQuery.test.tsx:3801–3803 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3799
)
3800
},
3801
initialData() {
3802
return filter ===
''
? initialTodos : undefined
3803
},
3804
placeholderData: keepPreviousData,
3805
staleTime: 5000,
3806
})
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected