Open egoist opened 7 months ago
When deferStream is false, the withError example here will be broken: https://stackblitz.com/edit/tanstack-query-aqydpb?file=src%2Froutes%2Fwith-error.tsx (forked from official solid start example)
deferStream
false
https://stackblitz.com/edit/tanstack-query-aqydpb?file=src%2Froutes%2Fwith-error.tsx
just remove deferStream or set it to false in the with-error example
should show the actual error, instead of Cannot access 'refetch' before initialization
Cannot access 'refetch' before initialization
Often
Not relevant
solid-query
5.30.6
No response
### Tasks
I'm getting this same error regardless of how I set deferStream.
@ardeora FYI
Describe the bug
When
deferStream
isfalse
, the withError example here will be broken: https://stackblitz.com/edit/tanstack-query-aqydpb?file=src%2Froutes%2Fwith-error.tsx (forked from official solid start example)Your minimal, reproducible example
https://stackblitz.com/edit/tanstack-query-aqydpb?file=src%2Froutes%2Fwith-error.tsx
Steps to reproduce
just remove
deferStream
or set it to false in the with-error exampleExpected behavior
should show the actual error, instead of
Cannot access 'refetch' before initialization
How often does this bug happen?
Often
Screenshots or Videos
Platform
Not relevant
Tanstack Query adapter
solid-query
TanStack Query version
5.30.6
TypeScript version
No response
Additional context
No response