import Home from "./inner"; import { preloadQuery, preloadedQueryResult } from "convex/nextjs"; import { api } from "@/convex/_generated/api"; export default async function ServerPage() { const preloaded = await preloadQuery(api.myFunctions.listNumbers, { count: 3, }); const data = preloadedQueryResult(preloaded); return (

Convex + Next.js

Non-reactive server-loaded data

{JSON.stringify(data, null, 2)}
); }