Deragon
Explore posts from serversCCConvex Community
•Created by Deragon on 2/27/2025 in #support-community
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
Query Function
Client-Side Usage
Issue
- New notifications don't appear in real-time; they require a refresh.
- console.log(notifications)
inside useEffect
only updates on refresh.
Troubleshooting Steps Tried
- Restarting the dev server
- Clearing cache
- Checking Convex version (v1.19.2
)
Question
Am I missing something to trigger real-time updates?5 replies
DTDrizzle Team
•Created by Deragon on 7/25/2024 in #help
Hey, I have an existing table in my neon database but when i run the command "npx drizzle-kit push"

1 replies
DTDrizzle Team
•Created by Deragon on 5/11/2024 in #help
'@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances

8 replies
PPrisma
•Created by Deragon on 4/21/2024 in #help-and-questions
P1017: Server has closed the connection.

3 replies
KKinde
•Created by Deragon on 3/18/2024 in #💻┃support
WEBPACK_IMPORTED_MODULE_0__.createContext is not a function

5 replies