EMILIANOM
CCConvex Community
•Created by EMILIANOM on 10/22/2024 in #support-community
Clerk, Convex and Svelte
I think i fixed it, i was creating 2 different convex clients and that was the error. now im just creating it in the main +layout.svelte
and using "useConvexClient" to get the instance where i need it.
I will let the repo public in case it helps anyone
5 replies
CCConvex Community
•Created by EMILIANOM on 10/22/2024 in #support-community
Clerk, Convex and Svelte
Link to my repo: https://github.com/emilianocalzada/svelte-convex-clerk
It's almost fully integrated just need to use the authenticated convex client inside queries or if that's not possible create a wrapper Svelte component which provides a ConvexSvelteClient authenticated with Clerk
Hope you can help me
5 replies
CCConvex Community
•Created by Alm on 10/15/2024 in #support-community
Is nextjs recommended with convex? or not ideal?
Hello Jamie, will i need to know react to use tanstack? I use Sveltekit and im pretty happy, but I want to be integrated into Convex in the best way possible
Whats your suggestion? thanks!
22 replies
CCConvex Community
•Created by Wayne on 10/16/2024 in #announcements
Convex - Product Information, Latest Upd...
Sounds interesting!
If I understand correctly, they will be added directly in convex backend that means that if I use convex with svelte I’ll still get benefit?
Not just for react right
3 replies
CCConvex Community
•Created by EMILIANOM on 10/7/2024 in #support-community
Svelte + Clerk | Any example of how to get it working?

7 replies
CCConvex Community
•Created by EMILIANOM on 10/2/2024 in #general
I saw that convex actions timeout after
😄
6 replies
CCConvex Community
•Created by EMILIANOM on 10/2/2024 in #general
I saw that convex actions timeout after
thank you!
6 replies
CCConvex Community
•Created by EMILIANOM on 9/26/2024 in #support-community
Convex + Lucia auth + Svelte | Help
Thank for your time!
That’s enough, I will keep experimenting and learning about convex, I’m really liking it, just the major pain point was the auth with svelte but your repo saved me
Night 🌙
14 replies
CCConvex Community
•Created by EMILIANOM on 9/26/2024 in #support-community
Convex + Lucia auth + Svelte | Help
When the page loads it verifies the auth (hooks.server.ts)
and then when it calls the database via (query, mutation, etc) it also verifies the auth on every query, i think this is secure but is it the recommended way?
14 replies
CCConvex Community
•Created by EMILIANOM on 9/26/2024 in #support-community
Convex + Lucia auth + Svelte | Help
tasks.ts
withAuth.ts
Yeah that was it! I think that it is working now, do you think if im doing it the correcy way pls? not sure if i should check for null user inside every query / mutation or if there is a better way in order to have less code.
Pushed the code to my github repo if you need to see the whole code, basically its the same repo as yours 😄
14 replies