Skip to content

v0.41.2

Choose a tag to compare

@CinimoDY CinimoDY released this 23 Oct 17:42
· 48 commits to main since this release
464b0fc

Patch: TextScramble and Stat scramble no longer ship random glyphs in server HTML. Use ^0.41.2.

Fixed

  • TextScramble and Stat scramble render the real text on the server (DMNC-1609). useTextScramble used to pick random glyphs in its initial state, so server HTML shipped glyphs instead of the text and hydration failed with React error 418. The server render and the first client render now output the target text, byte-identical; the scramble (and the prefers-reduced-motion check) starts in an effect after mount. A layout effect on the client swaps in the first scrambled frame before paint, so client-only mounts still open on glyphs, not a flash of the final text. Public API unchanged.