Repository navigation
v2.0.0-next.33
Pre-release
Pre-release
·
8 commits
to main
since this release
Patch Changes
- d8288bd: Fix navigations hanging after hydration when a
query()read ran inside Solid's hydration tracking run, where the globalPromiseandfetchare swapped for stubs that never settle (solidjs/solid#3721). Adopting a server value that had already settled wrapped it with that stubbedPromise, so the cache kept a promise that never settled. A boundary resuming more than 5s after boot treated the entry adopted at boot as stale and called the query function inside the tracking run, caching the same kind of promise. Adopted values are now wrapped with the nativePromise, and a read with no navigation in flight while hydrating reuses the cached entry at any age, as adoption already did for server payloads. Navigations keep the normal freshness windows.