TanStack / query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
https://tanstack.com/query
MIT License
40.1k stars 2.69k forks source link

fix(solid-query): Allow disabled queries to be SSR'd #7300

Closed ardeora closed 4 weeks ago

ardeora commented 4 weeks ago

Slight regression on SSR queries (We really need tests!). This change allows data to be SSR'd if initialData is present or if the query has been disabled

vercel[bot] commented 4 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **query** | ⬜️ Ignored ([Inspect](https://vercel.com/tanstack/query/GtJZAnXVrP7R7aiFbZZHohLoVYTg)) | [Visit Preview](https://query-git-fork-ardeora-fix-disabled-ssr-tanstack.vercel.app) | | Apr 18, 2024 6:45pm |
nx-cloud[bot] commented 4 weeks ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 45ed6c13c012a2173dd937bcf644ce7e981e0b4a. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target - [`nx affected --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build,test:attw --parallel=3`](https://cloud.nx.app/runs/8QFBOQv0z4?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

codesandbox-ci[bot] commented 4 weeks ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 45ed6c13c012a2173dd937bcf644ce7e981e0b4a:

Sandbox Source
@tanstack/query-example-angular-basic Configuration
@tanstack/query-example-react-basic-typescript Configuration
@tanstack/query-example-solid-basic-typescript Configuration
@tanstack/query-example-svelte-basic Configuration
@tanstack/query-example-vue-basic Configuration