electric icon indicating copy to clipboard operation
electric copied to clipboard

Feature request: Vue-Composables

Open 3dyuval opened this issue 4 months ago • 3 comments

Is your feature request related to a problem? Please describe. Many who are using Vue would be amazed with Electric-SQL. As the demand to such an addition was already expressed (#2322, #1592, #1681) albeit with some concernes (mainanance burden). Still I think its safe to say we can go ahead and sync to the Vue layer, the Vue community, and the vue magic with full confidence.

Describe the solution you'd like Full feature parity @electric-sql/react with proper tests and a polished docs page. Some developers (like me) view their frameworks docs page as the entry point to new packages.

Additional context More of a formality because a PR for my fork with vue-composables is about to be sent soon. It will include the new package with tests, polished docs, and example demo app.

3dyuval avatar Aug 20 '25 21:08 3dyuval

Neat!

Btw have you seen TanStack DB? It has Vue and electric bindings and has very nice optimistic and server write support unlike the electric-sql/react lib.

KyleAMathews avatar Aug 20 '25 22:08 KyleAMathews

Hey yeah! We had a brief discussion about it on Discord when it came out. Its very impressive. But we like compact primitives that are easy to wrap your head around.

The Vue composable will be a small wrapper around Shape just like react, very perfrmant and intuitive reactive for vue developers.

The only thing I'm still 99% is how types should be inferred ergonomically. More to come!

3dyuval avatar Aug 20 '25 22:08 3dyuval

Nice! Yeah room for both for sure 😀

KyleAMathews avatar Aug 20 '25 22:08 KyleAMathews