I would like to add to Functions.
However, when I did npx convex dev, nothing was added to the deployed functions.
I saw in the project log that it was deployed, so I think I have the right deploy destination.
I am not sure which one is the problem, so I will list the possible ones.
...
TanStack Start and Convex Pagination glitches
TanStack Start 1.111.10, and Convex bits version as of today. I'm loading a component into an Outlet that is a table that displays a list of models of devices. Using the instructions for Paginated Queries I'm able to load 10 items at a time, but there one odd (to me) behavior and one crash.
Odd behavior - I have a Load More button that does load more, but it reloads Outlet. Is that nomral? I thought it would just append to the end of the table. It's not doing a full root reload, but its reloading the outlet and adding 10.
Crash - when I get to the end of the rows, TanStack crashes with the following. ...
Nodemailer Causes Runtime Error
https://docs.convex.dev/functions/runtimes#nodejs-runtime
Looks like node mailer causes trouble with convex and opting in doesn't cut it....

How to get user's locale(selected language)
i want to localize push notifications, but in order to do that i need the locale of user
auth process not defined?
Hey, i'm trying to implement convex auth, and i'm getting this error:
process is not defined
ReferenceError: process is not defined
at materializeAndDefaultProviders (http://localhost:5173/node_modules/.vite/deps/@convex-dev_auth_server.js?v=524c2def:4929:18)
at configDefaults (http://localhost:5173/node_modules/.vite/deps/@convex-dev_auth_server.js?v=524c2def:4903:18)...
Are you planning on supporting angular?
Just out of curiosity since convex seems it would go along rxjs very well I'm kind of surprised that angular support is not there. Are there any technical reasons for that or is it just a matter of preference?
Convex useQuery Not Updating in Real-Time
Convex
useQuery
Not Updating in Real-Time
I'm building an npm package (xerexjs
) for real-time notifications in React/Next.js using Convex. The useQuery
for fetching notifications requires a manual refresh instead of updating in real-time.
Schema...Typescript errors on Vite Quickstart
I get the following errors from the vite quickstart. Is this expected?
Validation error bug when testing
Hi,
we get the following validation error when running tests when undefined is passed into a patch.
It happens in another place as well but if we remove the undefined code the execution will not throw....

Working with datetimes in documents
How can I compare to get documents ( bookings ) set at before or after a specific time, should I save timestamps and and the timezones as separate columns, it seems very unintuitive
Sharing an array between Convex and UI?
In the app I'm building for work, I have some data that (ideally) should be shared between Convex and my front-end UI, and I'm not sure how best to accomplish this.
As an example, I have a table of contacts. One of the fields in this table is
currentState
. In the current iteration of our data (Airtable), this field has 23 different options. Rather than keep multiple copies of that list, I'd prefer to just maintain one.
One idea that came to mind was to do the following:...watching a custom endpoint, rather than an api endpoint
I have a pretty complex endpoint in prisma. It's almost 500 lines of code and multiple queries.
Is the standard practice to just dump this code into a file with all the other queries/mutations within the convex folder?
Or is it possible to have some organisation and watch an endpoint instead?...
[Backup]: Stuck on "Backing up config in 'pushNotifications'"
Our manually-initiated backup of production has been stuck on that point overnight (14 hours). We tried cancelling and reinitiating, but same result.
This has not happened with our previous automatic backups - but we should be able to manually initiate a backup as well....
Linking Account
Hi! With Convex Auth, when a user signs in with Google Auth and then uses the same Google address but for id and password signin, I see that the database actually creates two instances of user account and id. How is linking/syncing these two accounts handled in Convex Auth?
Thank you!...
Refresh token issue – Next.js with React Compiler and PPR
Do you think Convex can work with the React Compiler and Next.js using PPR? I’m having an issue with the cookie—it’s not revalidating. I’m using Next.js, Convex auth with Auth.js, PPR, and the React Compiler enabled. Every time the session needs to be refreshed, it doesn’t happen automatically, and I have to reload the browser twice to make it work.
I’ve seen similar issues reported in different places, but the suggested solutions haven’t worked for me. If anyone has a hint, I’d appreciate it! I can also give access to the repo, and I’ll find time to create a reproduction example later...
pagination
trying to find a way to randomly access a different page
getPage doesn't seem to work
how can I go straight to the 100th page
how can I filter some out so pages only include the desired results, there are to many bytes for me to collect the whole table...
stop from running again
I have a data processing function that kicks a bunch of other function off with runafter
is there a way to see if these functions are still running programatically I'd like to stop the batch from being kicked off again if these functions are still running in the background...
How to re-organize api structure?
It's neat that Convex automatically structures the ...
api
object according to your folders, files, and function names, but on a larger project it becomes a bit impractical. For example, I have convex/users/fetchCurrentUser.ts
with a function in there called, of course, fetchCurrentUser()
. However, in order to consume this, I have to use:
const user = useQuery(api.users.fetchCurrentUser.fetchCurrentUser);
const user = useQuery(api.users.fetchCurrentUser.fetchCurrentUser);
optimistic delete rollback
I'm prototyping a feature where I can add and remove users to / from a group (called channel).
Removal has constraints, removing the last ADMIN is disallowed. When trying to remove the last admin the mutation throws a Convex Error and the frontend displays a toast informing the user.
When removing optimistically, the constraint is not enforced and the user is removed from the localstore. I'd expect that when the mutations throws, the optimistic update is rolled back but apparently this doesn't happen.
Is there a way to debug this? Can I somehow inspec the local store to see if this is a UI problem?...