WeamonZ
CCConvex Community
•Created by sbkl on 5/11/2024 in #support-community
preloadQuery for server side rendering getting the client component error
For anyone with the issue, I re-exported convex (for decoupling purpose), and I made sure to separate the convex/react and the convex/next.
7 replies
CCConvex Community
•Created by sbkl on 5/11/2024 in #support-community
preloadQuery for server side rendering getting the client component error
Ok it looks like I messed up convex/react and convex/nextjs imports, I should seperate them in different files
7 replies
CCConvex Community
•Created by sbkl on 5/11/2024 in #support-community
preloadQuery for server side rendering getting the client component error
@sbkl Hey, I'm actually having the same error, since the
ConvexClientProvider
requires use client
, I cannot use preloadQuery
orfetchQuery
anywhere7 replies