github meursyphus/ssgoi v3.1.2

17 hours ago

Bug Fixes

fix(core): prevent transition cleanup from removing newer transitions (#227)

Fixed a race condition that occurred during rapid page navigation where animations would fail to play.

Problem:
When navigating quickly between pages (e.g., A→B→C), users would see:

Transition "/demo/posts" not found

And pages would transition without animation.

Cause:
When a callback was reused for the same route key, the old callback's cleanup handler would incorrectly unregister a newer transition that had been registered with the same key.

Solution:
Store a reference to the transition at registration time and only perform cleanup if the current transition matches the registered one.


Full Changelog: v3.1.1...v3.1.2

Don't miss a new ssgoi release

NewReleases is sending notifications on new releases.