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

Looking up by an array equality

QQ: Will this code do what I think it will? Basically trying to model a group chat. And want to check if there is an existing thread with a user, when a user initiates a new conversation. For example, say from a providers profile, a user clicks the message icon, instead of creating a chat, I want to check if there is an existing thread. We model the thread association with threadParticipants. Just looking for some feedback or if there is a better approach.
No description

SSR with Next.js and Pagination

i didnt realize until today that convex had helpers for nextjs server side. This might make me rewrite some of my components into rsc and use these and not the normal client hooks. So for this function https://docs.convex.dev/api/modules/nextjs#preloading-data (preloadQuery) can we also do usePaginatedQuery ? Right now im using this on my client side and want to see if i can make this change....

Loading state for mutations

Hey, I am using 'loading state' with useQuery in my nextjs app (when its undefined) and it works fine. Is there any way to do something similar with mutations? For example if I am creating an element, while the mutation (loading) I will show a spinner or smth

One to many query questions

Can you create a support thread about this one to many relationship and performance? Happy to dive into it there.

resend problems

How can I use resend with CONVEX, someone help me please. I am struggling with that for about 3 HOURS HAHAHA starting to get crazy

@Web Dev Cody i started using

@Web Dev Cody i started using projectplannerai.com for managing my convex project and its working great. It reminds me of github projects but a way cleaner ui.

Password hashing

No official guidance, but @Michal Srb has used some libraries from lucia in auth things he's experimenting with: https://github.com/xixixao/convex-auth/blob/78ea416e6b1699de315a830cfb7d2f01f2ab4f5f/convex/auth.ts#L97 https://lucia-auth.com/reference/main/Scrypt/...

@Riki how does it compare to firebase?

@Riki how does it compare to firebase? deciding between the two right now

Server fetchQuery and fetchMutation

Hey, when using the identity to auth queries and mutation, those queries and mutations must be done in client components always, not in rsc or server actions, right? Or I am mistaken

Does convex directory have to be in project root?

Hi does convex have to be in the root directory of your project?

Hello all. I am just exploring a Convex

Hello all. I am just exploring a Convex and want to make a video calling app with convex. I have no prior experience with socket io or service like that. Now I want to learn the technology. What can I start. Any reference document or tutorial link will be helpful. Thank you.

Renaming tables

Hi all. I'm new to convex. When Is it possible to change the name of an existing table? When I rename a table in the schema.ts file, I'm observing that a new table is created while the old table stays.

Consolidated resources / support / consulting

Here's a hot take thought I just had. It would be beneficial (for me) to have access to a list of Convex developer resources for pushing a project forward. For example, I'm pretty new to Convex, and will undoubtedly get stuck at some point. I'm already going around in circles trying to get auth work in a Next.js 14 app with Lucia 3 (the official Convex template only supports Lucia 2 right now). 🙂 Although the Discord channels are great for support most of the time, if it's something you need to get done in a timely manner then something more formal would really be handy. Maybe this could be in the form of consultancy services from the Convex developer team? i.e. Perhaps a paid service that I can get help with particular issues I'm stuck on. Or, this could be a list of 'certified' Convex developers that provide similar services. Mentoring services would be great but not everyone can afford to spend dedicated free time helping others even though they may want to....

Schema location with crud helpers

I would like to use the CRUD helpers but it seems i have to define the table not in the schema.ts file, but according to the example, in the users.ts file. Is there a way to keep all the table definition,as per standard, in the schema.ts file and still use the helpers?Im referring to this example here https://github.com/get-convex/convex-helpers/blob/main/packages/convex-helpers/README.md#crud-utilities...

Triggers

In so far as I can tell, convex has no built-in way to trigger a function to reactively process some data that was just added to a table. Am I right?

Next.js templates

is the fullstack task management (nextjs) template still containing best practices considering there has been 10 convex releases since then?

hiding stuff in convex folder

in the convex folder, if we prefix a folder with _utils it will be ignored by convex?

getting images by url

Hi please , am I the only who can't see images stored in the bucket with their id ?

transient posts

Is there a way I could make users be creating a post that lasts only 24 hours?

Is there a good example somewhere of

Is there a good example somewhere of pagination with previous/next page 1,2,3 etc?