joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Investigate why direct page renders SSR but fail to hydrate

Open rglover opened this issue 11 months ago • 0 comments

Right now, if you only pass a page to res.render(), the SSR works, but the client-side render/hydrate doesn't seem to run (I was logging some props and they didn't log on full refresh but did when triggering an HMR update).

My guess is this has something to do with how we mount a standalone page vs one embedded in a layout. If I add a layout back in to the res.render() call, it works as expected.

rglover avatar Jan 07 '25 01:01 rglover