query icon indicating copy to clipboard operation
query copied to clipboard

feat: qwik-query package

Open gioboa opened this issue 7 months ago • 10 comments

This pull request adds Qwik adapter for TanStack Query.

I covered:

useQuery useInfiniteQuery userQueries useIsFetching useMutation useIsMutating

It's draft because I need to cover these things

  • TypeScript types
  • Few tests
  • Basic examples

To avoid a huge PR with too many lines of code these tasks will be in future PRs

  • Docs and readme
  • More tests
  • More Examples

gioboa avatar Nov 24 '23 21:11 gioboa

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
query ⬜️ Ignored (Inspect) Visit Preview Dec 5, 2023 8:54am

vercel[bot] avatar Nov 24 '23 21:11 vercel[bot]

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 b9cda09198bb4e4a13a24db7a45168122858ff24:

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

codesandbox-ci[bot] avatar Nov 24 '23 21:11 codesandbox-ci[bot]

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 3e75b2e0a9aa1a41c83221089ed07557a80d6379. 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

Sent with 💌 from NxCloud.

nx-cloud[bot] avatar Nov 27 '23 10:11 nx-cloud[bot]

oh, you might also want to add an integration test:

https://github.com/TanStack/query/tree/83d71c307410933909dce1c7e5579c6e36747195/integrations

basically a minimal example where we run the test:bundle task, which is supposed to build packages with different bundlers to ensure our packages work with different frameworks / build tools

TkDodo avatar Nov 27 '23 15:11 TkDodo

great work 👏

some options typings are set to any, so I guess we need to figure this out before publishing it

Yep, in fact I really would like an help to figure out the right types

gioboa avatar Nov 28 '23 17:11 gioboa

can you please update with main and fix the conflicts - we've release the angular adapter today 🎉

let me see if I can help with the types

TkDodo avatar Dec 01 '23 15:12 TkDodo

let me see if I can help with the types

I'm trying to help with that, but there's still a lot of work to be done: https://github.com/gioboa/query/pull/1

gradddev avatar Dec 03 '23 08:12 gradddev

@gioboa, @TkDodo, et al.

This is FANTASTIC, great work, and very needed! Any idea when it might be ready to merge?

..sebastian

n8sabes avatar Jan 17 '24 06:01 n8sabes

@gradddev is doing a great job on the right direction. I'm looking forward to seeing the integration finalised.

gioboa avatar Jan 19 '24 07:01 gioboa

Dude, I can't wait for this to release! I've been doing a weekly checkin since the last (now closed) PR. 🤣

oqx avatar Jan 31 '24 16:01 oqx

I don't have the energy to finalise this PR now. I'm thinking at this integration twice a week but it's not correct to keep a stale PR in the repository. So I close this PR for now, I'm more than happy to explain the current situation of the PR to new contributions. I'm so sorry. Cheers 😔

gioboa avatar Mar 22 '24 07:03 gioboa