Skip to content

Conversation

wobsoriano
Copy link
Contributor

@wobsoriano wobsoriano commented May 18, 2025

The useStore() function needs to be updated to accommodate dynamic Store instance values from @tanstack/db. See full discussion.

This PR already reruns the watch callback when the Store instance changes but the .subscribe callback never get invoked. Tbh not sure if this is optimal but I don't see an obvious better way of reacting to @tanstack/db's compiledQuery changes.

cc @crutchcorn

@wobsoriano wobsoriano changed the title feat(vue): Allow dynamic Store instance feat(vue): allow dynamic Store instance May 18, 2025
Copy link

nx-cloud bot commented May 18, 2025

View your CI Pipeline Execution ↗ for commit 4785f06.

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ❌ Failed 37s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 4s View ↗

☁️ Nx Cloud last updated this comment at 2025-05-18 20:08:48 UTC

Copy link

pkg-pr-new bot commented May 18, 2025

@tanstack/angular-store

npm i https://pkg.pr.new/@tanstack/angular-store@194

@tanstack/react-store

npm i https://pkg.pr.new/@tanstack/react-store@194

@tanstack/solid-store

npm i https://pkg.pr.new/@tanstack/solid-store@194

@tanstack/store

npm i https://pkg.pr.new/@tanstack/store@194

@tanstack/vue-store

npm i https://pkg.pr.new/@tanstack/vue-store@194

@tanstack/svelte-store

npm i https://pkg.pr.new/@tanstack/svelte-store@194

commit: 4785f06

@wobsoriano
Copy link
Contributor Author

Hi @teleskop150750, why the downvote? I would love your thoughts here 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant