Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the fullstack TypeScript platform for developers and startup founders.

Join

support-community

show-and-tell

general

self-hosted

announcements

If you check the vue ecosystem it's

If you check the vue ecosystem it's always one click away. also it you check tailwind, shadecn websites, etc. it's very common now to have it one click away. Lighting is very contextual and giving that option one click away is beautifull IMO. You don't wanna make it technical.

My quick guide on naming apps:

My quick guide on naming apps:

cannot login

i am trying convex for the very first time and i have got a problem. when i say npx convex dev it tells to open a link a verify through code, on browser side it shows you are connected but on my terminal it stays on waiting and after 1 minute it says failed fetch error. i am stuck on it

Connecting to two Convex projects in one app

if we would want to connect to two convex projects in one app. looking for a method. read through the docs but didn't find anything relevant

Different ways of caching queries on the client

I've scanned the docs but have one question, How does the new Query Cache compare to useStableQuery/useStablePaginatedQuery? Are those to generally be used with Query Cache or are they now a inferior option?

Spooky types

Any TypeScript pros out there understand this behavior? ```ts import { OptionalRestArgsOrSkip,...

Email vendors and solutions

hey guys, I have a Web product I’m building that needs to be able to send emails out to clients. How would I do this? I’m assuming there are services or libraries I can use to send emails to customers

Preloading queries caching

Ok general question for those using NextJS w/ RSC. I have routes that i'd like to pre-render and cache requests about my users in convex, but some of these are "forms" that the data might be updated live so I want that to be reactive. I've seen in the docs that there is both fetchQuery and preloadQuery and that you can then use the value from preloadQuery. My goal for prerendering is two fold:...

Convex powered CMS?

Hey, So we are considering the option of using some prebuilt CMS for handling our content management for our platform. Right now we have a built a simple one in Next.js, which works fine, but we are rapidly needing more and more functionality. Since we wanna focus our limited development resources on building our native app. I'm considering finding a CMS to more quickly built out new features for our content dashboard. We were thinking about maybe finding a CMS, that could maybe provide some of the building blocks, and then hook into Convex....

DNS stuff

Convex-adjacent question: Anyone have experience/opinion on picking a DNS manager? I am renaming my app with a new .com domain. So, I'm getting another shot at optimally setting up its DNS with Vercel. In the past, I took the super easy dev approach of using Namecheap as both a registrar as well as for DNS management. From some light research, this seems to be a pretty barebones approach. It doesn't enable fast performance globally or significant DDoS protection. I am using Porkbun as a registra...

Convex (@convex_dev) on X

btw, if anyone wants to check out a cool approach + lib to query caching, I just posted a fun video with some links. https://discord.com/channels/1019350475847499849/1252675728152072282/1252675728152072282 (tweet here: https://twitter.com/convex_dev/status/1803114601351160274 )

Env variables in schema

I am doing const api_key = process.env.API_KEY which is causing this error

Scheduled jobs logs not appearing

I'm using console.log inside an action which I run by scheduling. I don't see any print statement in the Convex log section in the Dashboard, is it normal?

can't find api route

i can't use useAction my api is not found any suggestion?
No description

count stuff... 🧵

count stuff... 🧵

Sveltekit auth

does anyone have an example of sveltekit with user/pass auth setup + convex? just looking something simply to build off of

Propagating errors in mutations in server actions

Helloooo. Recently, I have been thoroughly enjoying using convex mutations in server-actions but I did run into something for which I would like some help. So lets say, my mutations throw a ConvexError , I have an async function in my use server file (where all my actions are) where I call the convex mutation using fetchMutation call - which is wrapped in a try-catch - if there's an error I will try to re-throw the error. I call this async function in another file (a react compo...

table inside a table

Hey i have a simple question can we create a table inside a table

Hi, one quick question. Is it possible

Hi, one quick question. Is it possible to retrieve a random element from the DB? That it always returns a random one.