Skip to content

SSR jank #4894

Ben requested to merge fix/ssr-jank-4894 into master

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

  1. Open Chrome with dev tools.
  2. Go to the performance tab - make sure "Screenshots" is checked in the topbar.
  3. Set a throttled network speed (so that client-side scripts take longer to download). image
  4. Hit record.
  5. Load [pages that this has been applied for (search MR for modules with preventLayoutReset: true)
  6. Step through screenshots to see loading jank.
  7. Contrast with production.
Edited by Ben

Merge request reports