SSR with HydrationBoundary doesn't work, client fetches the data
What I expect: /feedback page loads with prefetched data on the server, meaning the data is in the page source code and there is no additional network request to /api/feedback on the client.
I am importing this into the page and wrapping the page with it.
In the feedback page.tsx
and in FeatureRequests.tsx I call useQuery and render the data
Now when I load this page and show source code, the feature requests are not there and the loading spinner shows. I thought the whole point of SSR should be this doesnt happen, I load the page with the data already.
What am I missing here?
I am importing this into the page and wrapping the page with it.
In the feedback page.tsx
and in FeatureRequests.tsx I call useQuery and render the data
Now when I load this page and show source code, the feature requests are not there and the loading spinner shows. I thought the whole point of SSR should be this doesnt happen, I load the page with the data already.
What am I missing here?