github meursyphus/ssgoi v6.4.0
v6.4.0 — SsgoiTransition as a data attribute

4 hours ago

Published: @ssgoi/{core,react,svelte,vue,solid,angular}@6.4.0 on npm.

Headline change — SsgoiTransition becomes a data attribute

Page boundaries can now be declared with data-ssgoi-transition="<id>" on any element inside <Ssgoi>. The SsgoiTransition wrapper component still works but is deprecated.

// Before
<SsgoiTransition id="/">
  <main>...</main>
</SsgoiTransition>

// After
<main data-ssgoi-transition="/">...</main>

Why: removes a layer of nesting, plays well with frameworks that dislike extra wrapper nodes, and lets you mark a boundary directly on the layout element you already render.

Also in this release

  • core@6.3.1: softer sheet exit physics (already shipped to latest).
  • Docs and all official templates migrated from the wrapper component to the data attribute.

See PR #349 for the full diff being promoted to stable.

Don't miss a new ssgoi release

NewReleases is sending notifications on new releases.