Unresolved need for a global cleanup hook in Inertia.js
Goal To determine whether Inertia.js should expose a framework‑agnostic lifecycle hook that guarantees the teardown of side effects (intervals, listeners, subscriptions) when a page component is discarded during a normal or partial navigation. Constraints Inertia.js only cleans its own internal events; Vue, React, and Svelte rely on their own unmount hooks.