github meursyphus/ssgoi v5.0.0

8 hours ago

Highlights

preserveScroll API — works out of the box

The scroll-preservation API has been redesigned (#321). Defaults are now sensible: scroll position is automatically preserved on mobile-width viewports without any configuration. Most apps no longer need to set this option at all.

If you do want to customize, the API surface is small — exclude specific routes (e.g. detail pages where you want to start at the top):

const config = {
  preserveScroll: { exclude: ["/post/*"] },
};

Mobile transition defaults tuned to UX easing principles

Spring/inertia defaults for mobile-style transitions (drill, sheet, swap, snap, depth, etc.) were re-tuned to follow design-guideline easing curves (#323). Out-of-the-box motion now feels closer to native iOS/Android timings — punchy where it should be, calm where it should be — without per-transition tweaking.


Packages published at 5.0.0

  • @ssgoi/core
  • @ssgoi/react
  • @ssgoi/svelte
  • @ssgoi/vue
  • @ssgoi/angular

Related PRs

  • #321 — feat!: 5.0 — preserveScroll API + drop usePathname/visibility-hide
  • #323 — feat(core): tune mobile transition defaults to UX easing principles
  • #324 — fix(core): make scroll restore beat router-side scroll resets

Don't miss a new ssgoi release

NewReleases is sending notifications on new releases.