Let's Make Convex Framework Agnostic
I Want to start, I LOVE CONVEX RLYY—it's insane how fast I can build apps! But I was kinda forced to switch to React to use all the cool features with ease (like Tanstack data fetching stuff). I HATE React and want to move back to Svelte.
This is a VERY VERY big issue to solve, but I'm willing to contribute some of my free time to get this off the ground. I want to help make Convex framework agnostic.
I know I'm not as skilled as most of you are, but I'll try my best! I RLY RLY want to make this work for the sake of Svelte users and loving this product so much.
I'm creating this post to get community attention. Since this will be my first contribution to open source, I'm kinda lost.
I'm asking for a guide! Can any Convex team member or experienced contributor give me a general guide on how to approach this?
For more details check the Github Issue
Help me help Convex make this happen!
(Currently Reading Convex Repo trying to understand it more Deply)
2 Replies
So am I understanding you correctly, that you are struggling with implementing auth with Convex (Because the GitHub issue you are referencing is about auth)?
So if you try adding auth with Convex without adding a 3rd party solution, you have two options with Svelte:
1. Convex Auth
2. Convex Better Auth
Convex Auth is a simple authentication solution based on auth.js. Convex Better Auth is based on Better Auth and is actively developed, making it easy to start. It also supports more complex use cases, such as organizations and API keys.
Overall, I recommend going with Convex Better Auth as it's the one that will be more future-saving. auth.js has been acquired by better-auth, and it is now recommended to use better-auth instead.
You find the convex auth guide for Svelte here and the Convex better auth guide for Svelte here.
Not just Auth, Tanstack Query for example There other queries not support like pagination and also same issue Vue https://docs.convex.dev/client/vue its community supported which is not thing but i have couple of friends want to use VUE but they kinda Skeptical and same story Soild JS, i feel its no issue of Svelte per say but its very limiting im looking at tanstack where he has core which is agnostic logic queries and everything and u can wrap with you targeted framework
maybe i don't have full picture but my Motive is make Convex DX like react in other framework
Also to add to this https://github.com/get-convex/convex-helpers/blob/main/packages/convex-helpers/README.md#query-caching
React only