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:3795–3797 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3793
)
3794
},
3795
initialData() {
3796
return filter ===
''
? initialTodos : undefined
3797
},
3798
placeholderData: keepPreviousData,
3799
staleTime: 5000,
3800
})
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected