Daria
Daria
CCConvex Community
Created by timp on 7/18/2024 in #general
Vue
I'm making a turn based tactics game using nuxt (even though most of the app is a simple client side rendered SPA) and pixiJS, using convex for the back end :SeemsNice: (not for the game itself, I spin up proper dev servers that maintain the game state in memory etc) Ive been meaning to take a look at convex-auth as well, and integrate i with vue when it's a bit more battle tested. When I'll do so I'l probably make a breaking change in convex-vue/core to rip out the auth stuff into its own separated package
9 replies
CCConvex Community
Created by timp on 7/18/2024 in #general
Vue
Sorry I’ve been neglecting convex-vue these past months as I was buried deep in some side projects (game dev is fun :SeemsNice: ). I’ll try to clear up the issues / PR and make convex/nuxt usable over the week end
9 replies
CCConvex Community
Created by MapleLeaf 🍁 on 4/14/2024 in #general
centralized vs. decentralized client data
This is actually kinda of the pattern I've implemented in convex-vue to add remix-style loaders on a route by route basis: before navigating to the page, some subscriptions are fired but the result is not consumed yet, however the cache is fresh, or at least close to having results when the page s displayed. There are also interesting patterns you could do like start "prefetching" queries when hovering links, or when some piece of UI is about to enter the viewport, etc
5 replies
CCConvex Community
Created by Daria on 2/17/2024 in #general
@convex-vue/core
I have started work on the nuxt integration. So far I've setup the nuxt module to auto import composables. I made a custom useQuery and usePaginatedQuery composables to iron a few quirks with SSR and allow passing SSR data to the client in a way that is totally transparent for consumers I still need to - add autoimports for the component, and make custom <ConvexQuery/> and <ConvexPaginatedQuery /> to use the specific composable - figure out if there are any kinks to iron out regarding auth (I'm using lucia for my personal project, so haven't fiddled with oAuth in that context yet) Hopefully more news in the evening when I get back from work :cooldoge:
5 replies
CCConvex Community
Created by Daria on 2/17/2024 in #general
@convex-vue/core
So huh I think convex-vue is in a pretty good state right now. If people have features they'd like to add, I'm all ears. As for the nuxt integration, I haven't made a package for it yet. I've been using convex with nuxt on personal projects though. I used a custom ConvexClient to fallback on a simple ConvexHttpClient during SSR (with caching, deduping etc).
5 replies