traceT
Convex Community8mo ago
2 replies
trace

Clarification on Preloaded, usePreloadedQuery from convex/nextjs

In the docs https://docs.convex.dev/api/modules/nextjs I see that to get preloaded data in client component I have to use import { Preloaded, usePreloadedQuery } from "convex/nextjs"; when I tried it in my client component I got "Module '"convex/nextjs"' declares 'Preloaded' locally, but it is not exported." "'"convex/nextjs"' has no exported member named 'usePreloadedQuery'. Did you mean 'preloadQuery'?"
Helpers for integrating Convex into Next.js applications using server rendering.
Module: nextjs | Convex Developer Hub
Was this page helpful?