Choosing a React Framework
Is their a guide or advice for choosing a React Framework
Iโve been listening to the podcast which seems very opinionated about front end approaches and keeping it simple. However Iโm new to React and itโs difficult to know the pluses and minuses of different frameworks...
Default values in table field
I have a table with a v.object field. In the future this object might get more values set in it. Is there a way to updated the existing data in the database with default values?
Hey i a not able to use my url call back in convex
when i use my convex url i am able to use github and google oauth but redirecting me to local host instead when i add my domain it is not able to login through google and github.
help me setup a cronjob that loops through my entire user table and updates a number
currently the following code errors out because i have more than 4096 user rows
```
export const replenishPointsForAllUsers = internalMutation({
args: {},...
Python
i have talked to several companies that are using fullstack javascript/typescript plus a data processing pipeline that uses python
Of course, we should use convex for the typescript backend
but what is the simplest recomendations for the rest...
"Database bandwidth" Discrepancy
Hi, I'm seeing a big discrepancy between the "database bandwidth" value displayed in:
1. The top table on the usage page (500.6 MB)
2. The aggregate "database bandwidth" of all my functions (8.47 MB)
Both values are showing the usage only for today 18th Nov. I'm struggling to debug what led to the sharp increase in database bandwidth read, since the high database bandwidth is not showing up on the "per function breakdown" section. Could I get some help to understand this discrepancy? ...
Cannot access the "page" return type for pagination
I am working with the pagination function provided by convex and I was trying to make a messaging feature for the application I am working on but I cannot access the "page" return type for my application. I get the toString and toLocaleString options instead.
How can i make it work?...
Dev to prod table export/import
Hi,
My goal is to create deployment version and port all of the data from dev tables to prod.
I have done the following to
-
-
npx convex deploy
to create deployment branch in convex
- exported backup as ZIP from dev branch...Does Vercel charge bandwidth for Convex images?
My teamโs building a messaging aspect to our Next.js app and this question came up:
Weโre pretty confident that Vercel bandwidth is charged for images in the /next directory. These are images distributed throughout the Vercel CDN.
But do images in convex (file storage) get charged for Vercel bandwidth when displayed on the front end?...
Hosting in EU
Are the re any options to currently (or as a roadmap feature planned) enable data residency i.e. hosting inside a specific region i.e. EU?
Creating a new authAccount not with signIn of useAuthActions
Hey, Iโm building a site with Nextjs and using convex.
I want the admin of the site to be able to create the users (doesnโt matter the provider but either password, otp or resend).
I managed to add new user but not in the authAccount table which is what I need for them to login by themselves after the admin of the site adds them.
Thank you!...
GetUserIdentity null
Hi there, I have a list of queries that run for it's corresponding page in my nextjs 14 web app. Inside each query I have a getUser hook that will check the identity and return the user associated with it:
```
import { QueryCtx } from "@/convex/_generated/server";
...
NextJS 15 Dynamic API Async Errors
Hello,
I'm currently receiving this error when trying to use NextJS15 with Convex and Convex Auth
[Error: Route "/signin" used headers().get('Host'). headers() should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis]...
How to handle the elapse of time for debounce logic in Convex?
Iโm building the notification logic for direct messaging. My app is prelaunch, and I want to keep the notification logic simple for the MVP. For now, the logic should be based on data that's simple to gather, e.g. debounce time and read receipts. In the future, we may add more factors for the logic, e.g. user presence. And more notification types, e.g. native in-app notifications.
The key challenge Iโm facing in Convex is managing time-based logic to debounce email notifications. Ideally, the app delays notifications for a short period in order to group multiple messages into a single email.
Below are my current potential approaches for debouncing. Which do you recommend?...
ShadCN Table Example with Convex Pagination/Filtering/Sorting
Does anyone have an example or can point me in the right direction of using a ShadCN table using a Convex pagination query with filtering, sorting and ordering, etc... i.e. not client side pagination/filtering/sorting using collect because I have hit the 8MiB limit so I cannot get all the records upfront unfortunately. Thanks in advance.
custom password provider
hello, does anyone know how to make a custom password provider using convex auth?
just some basic stuff like using username instead of email, adding the possibility to change the password...
Guidance on properly cascading deletions
I'm working on converting the Ents SaaS Next.js Starter ( https://www.convex.dev/templates/ents-saas-starter ) away from Ents, because other than Ents it has everything I wanted. To do this I was reading about Ents, and came across this article talking about the challenges of deletion: https://stack.convex.dev/ents#cascading-deletes-soft-deletion-and-scheduled-deletion . It says:
This makes deletion in general more challenging though. You can easily have a scenario where a documentโs ID is stored in 1000s or even more other documents. Deleting all of these documents in a single mutation, which is within a single transaction, is simply impossible, as it would require a long-lived transaction, grinding the whole database to a halt (something Convex does not allow, instead failing the mutation).So in conventional Convex, what's the suggested way to cascade a delete? I would prefer my app to not fail at deleting a workspace only when it has a lot of content in it....
Running Convex locally while deploying to hosted plan
I'm building an open source project on top of Convex and I'd like to accept code contributions from others. Afaik the only way to enable this right now is to add every contributor as a paid seat on my Convex plan, and although I wish I had the project income to do that, we currently make $0 in revenue. Is it possible to enable people to spin up a local backend for Convex while still relying on the hosted/paid plan for production data and management?
Stable pagination
I am building an application and I need to add pagination to my tables but at the same time I don't want to have loading blinks when I apply filter. I followed this guide: "Help, my app is overreacting!". First when I added the stable it worked fine, but when I implemented the pagination it broke. I don't know what could be causing the problem. Has anyone have a similar problem?