Describe the bug#
The enabled flag is not working with solid query and Solid Start's SSR.
See my repro for actual example: github repro
Your minimal, reproducible example#
https://github.com/shiro/repro-SS-solid-query-enabled-flag
Steps to reproduce#
- use solid start with SSR and latest solid query
- use solid start's stream or async SSR modes
- add a simple query, connect the
enabled option to a signal that's initially set to false
- toggle the signal on the client side
- query does not run
Expected behavior#
Query should run once enabled is set to true.
How often does this bug happen?#
Every time
Screenshots or Videos#
No response
Platform#
- OS: linux
- browser: chromium, FF
Tanstack Query adapter#
solid-query
TanStack Query version#
5.2.1
TypeScript version#
4.9.5
Additional context#
No response
Thank you for creating this issue. Sadly this seems like a solid-start bug. I have already filed an issue on the solid-start repo to start the conversation there
Please see: https://github.com/solidjs/solid-start/issues/1099