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

usermez's Thread

not sure if its the right approach but I ended up mocking that module like so: ``` // Mock the auth module vi.mock("@convex-dev/auth/server", async (importOriginal) => { const actual = await importOriginal()...

usermez's Thread

Does anyone know what I am doing wrong? Somewhere in my convex function I have the following code.
const userId = await getAuthUserId(ctx);
const userId = await getAuthUserId(ctx);
...

starlord_gf's Thread

but it was really strange. the problem has started only with connection to convex and some mutation query data got messed up. is it possible that client server can somehow desynchronize if connection is not stable?

voulkou's Thread

Hey, I was wondering why have both documentation and search if documentation already does the same thing?
No description

mikeysee's Thread

its the most handsome favicon there could ever be, surely? 😉

waynesutton_cx's Thread

Auto threads are now enabled in General.

Convex dashboard database tables names

feature request: In Convex dashboard for database tables, start Chrome tabs with table name. Currently, all Chrome tab names for the database tables pages start with "Data"...
No description

`useNextPrevPaginatedQuery`

Hey all—I published to npm a little React hook for performing a more traditional form of pagination than what Convex offers by default via usePaginatedQuery. This hook, called useNextPrevPaginatedQuery, only loads one page of results at a time, and exposes functions for loading next/prev pages in the paginated result set. Check it out on GitHub or npm...

Convex Auth with Svelte

Okay thanks, is there any auth soloution that supports both sveltekit and convex?

useMutation error

Hey @everyone i have got these error i dont know why it is appear. Can any body help with these, Thank you..!
No description

Hello again, do convex have any examples

Hello again, do convex have any examples with NextJS, @tanstack/react-query and prefetching on a server? I'm getting error from convex/react: ``` @v1/app:dev: ⨯ createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component...

Paginated query executing twice

``` export default function NewProductPage() { const result = usePaginatedQuery( api.admin.listOwnPendingProducts,...

is there a method to populate the query

is there a method to populate the query with foriegn key data? ``` export const getAllStock = query({ args: {}, handler: async (ctx) => {...

I would prefer to use ChatGPT with the

I would prefer to use ChatGPT with the model of my choice. Additionally, I want to provide the entire stack's documentation as source material, including Nuxt, Vue, Convex, etc.

optimistic updates for paginated queries

is it possible to have optimistic update of paginated query localstore?

https://github.com/get-convex/convex-

https://github.com/get-convex/convex-helpers/blob/main/packages/convex-helpers/README.md#validator-utilities in validator utils i need to define table again to validate parameters. is it possible to use existing from schema? ```import { Table } from "convex-helpers/server";...

I don't understand your question

I don't understand your question

i did a cron job in convex my convex

i did a cron job in convex my convex read write database is 12gb in bandwidth how do i resolve this issue
No description

One, a React Framework

Does anyone have thoughts or experience with https://onestack.dev/ ?