SSR jank #4894
Closes #4894
SSR isn't working very well on my local, but from what I can tell, this is working to get rid of the jump when loading various pages.
Example load: https://streamable.com/7oo6bc
Testing
- Open Chrome with dev tools.
- Go to the performance tab - make sure "Screenshots" is checked in the topbar.
- Set a throttled network speed (so that client-side scripts take longer to download).
- Hit record.
- Load [pages that this has been applied for (search MR for modules with
preventLayoutReset: true
) - Step through screenshots to see loading jank.
- Contrast with production.
Edited by Ben