TanStackT
TanStack4y ago
14 replies
precious-lavender

setQueryData old data type

I'm not sure if I'm doing this correctly - but old will always be defined - or will it? Should I have to account for old being undefined as per the type error? In what case would this be undefined?
image.png
Was this page helpful?