-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
Describe the bug
In
if (restoredData != null) { |
Happy to create a PR to change this to !== undefined
Your minimal, reproducible example
if (restoredData != null) { |
Steps to reproduce
See code
Expected behavior
null is a valid return value for a queryFn and therefore should also be resolved here?
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
All
Tanstack Query adapter
None
TanStack Query version
5.87.4
TypeScript version
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels