Describe the bug#
Hey! I'm using Solid Start with the Cloudflare Pages adapter, ssr: false and solid-query v5-rc.4.
I've noticed that when I provide a query via context within a layout to my routes and use that result for a different query that depends on the result somewhere inside the nested route, I get the following error when navigating from somewhere else to that route:

Reloading that route or directly navigating to it works fine though. It only happens when the route wasn't loaded before.
Your minimal, reproducible example#
https://stackblitz.com/edit/github-czovmr
Steps to reproduce#
- Go to the home route
- Click on the "Nested" menu item
- Error appears
Expected behavior#
There shouldn't be an error
How often does this bug happen?#
Every time
Screenshots or Videos#

Platform#
- macOS Ventura 13.6
- Chrome v117.0.5938.92
Tanstack Query adapter#
solid-query
TanStack Query version#
rc-4
TypeScript version#
v5.2.2
Additional context#
No response
@ardeora FYI