Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

solid-query-public-hydration-api.md

9 lines700 Bytes

Move off Solid's internal sharedConfig onto its public hydration API. The hydrating-mount checks read isHydrating(), the server cache stream writes through getHydrationWriter() gated on isHydratable() (so <NoHydration> is still respected), and useQuery consumes its streamed entry with takeHydrationValue(). sharedConfig is internal in Solid 2.0 and absent from the published solid-js declarations, so the previous imports no longer type-check.

These APIs ship in Solid 2.0.0-rc.13, so the solid-js / @solidjs/web peer floor is now >=2.0.0-rc.13.