Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an Electric TanStack integration library #1882

Open
thruflo opened this issue Oct 22, 2024 · 1 comment
Open

Create an Electric TanStack integration library #1882

thruflo opened this issue Oct 22, 2024 · 1 comment
Labels
feature request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@thruflo
Copy link
Contributor

thruflo commented Oct 22, 2024

Build on the doc page https://electric-sql.com/docs/integrations/tanstack and wrap up the tanstack-example (edit: updated link, thanks @Dosbodoke) into an @electric-sql/tanstack integration library.

This can potentially provide a higher level interface to sync and update data that's based on using Electric with TanStack.

@thruflo thruflo added good first issue Good for newcomers help wanted Extra attention is needed feature request labels Oct 22, 2024
@Dosbodoke
Copy link

The tanstack-example anchor is linking to the wrong directory. You may want to update the issue linking to the actual tanstack example

Also, I think a good example of the wrapper API may be:

https://legendapp.com/open-source/state/v3/sync/tanstack-query/
https://github.com/psteinroe/supabase-cache-helpers/tree/main/packages/postgrest-react-query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants