Closed ShacharHarshuv closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
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 65781ff0ca0f3aaa7a9fd36ccead7ca98cfe52fd:
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 |
It seems like the styling changes were done automatically on commit by lint-staged. Let me know if you think something in my set up is wrong and it shouldn't have happened.
It seems like the styling changes were done automatically on commit by lint-staged. Let me know if you think something in my set up is wrong and it shouldn't have happened.
Yes that shouldn't happen, there shouldn't be semicolons at the end of lines for example. See prettier.config.js in the root.
@arnoud-dv I fixed the prettier issue
CI is running/has finished running commands for commit 65781ff0ca0f3aaa7a9fd36ccead7ca98cfe52fd. 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
Sent with 💌 from NxCloud.
Fix eslint error.
@arnoud-dv Who needs to approve to get this merged?
Fix eslint error.
@arnoud-dv Who needs to approve to get this merged?
I can approve it. Looks good at first glance, will take a more in depth look tomorrow. Thank you!
Before, when creating a query with injectQuery, if you injected dependencies (Like
inject(HttpClient)
) those injections would fail on subsequence changes of dependent signals. That change makes it easier to useinjectQuery
(especially together withqueryOptions
because the query can define its own dependencies.Possible followup: I wonder if we should also wrap queryFn and initialData and placeholderData in an injection context so that it would be possible to inject dependencies in these as well. Right now it will work on the first time but fail (silently, by default) on subsequent fetches.
No breaking changes, any code that worked before should work now as well.