Skip to content

v0.29.0 — bootOnce: CGA boot plays once per visit

Choose a tag to compare

@CinimoDY CinimoDY released this 15 Jun 14:44
· 14 commits to main since this release
8694344

Added

  • bootOnce on <RetroEffects> (DMNC-1047). Gates the boot turn-on to once per browser tab/session via sessionStorage. The sequence plays on the first load of a tab and is suppressed on every later mount within the same tab — both SPA route changes and MPA full-reload navigation — so opening a blog post or switching pages within a site no longer replays it. A new tab/visit replays it; a hard refresh does not. Optional bootStorageKey (default 'eidotter:retro-boot') scopes the flag or forces a replay. The gated path is effect-driven (SSR-safe; no hydration mismatch on reload) and falls back to playing normally if storage is unavailable. boot alone is unchanged (plays on every mount).

PR #385.