Web Dev Cody
Web Dev Cody2y ago

Convex outside of react

has anyone used convex inside svelte or vue? is it possible?
3 Replies
MapleLeaf 🍁
I believe it would be possible to use the ConvexReactClient outside of react, which has framework-agnostic client.query and client.watchQuery functions then you can make store wrappers around that
ballingt
ballingt2y ago
I'm working on a wrapper right now to make this slicker, coming soon
ian
ian2y ago
This shipped with 1.3! https://news.convex.dev/announcing-convex-1-3/ There's now a ConvexClient without React that makes it easy to subscribe to queries
Convex News
Announcing Convex 1.3
Convex 1.3 brings a new callback-based JavaScript client for using Convex in non-React apps and a way to propagate error information for better error handling UX. We’ve also made a bunch of improvements to our CLI and runtime! Callback-based JavaScript client The reactive paradigm is a great fit

Did you find this page helpful?