-
v0.31.1 Stable
released this
2026-09-22 10:30:41 +00:00 | 35 commits to main since this releaseFixed
useUnsavedChangesasks before moving to another record inside the same
component. It registeredonBeforeRouteLeaveonly, so going from
/blog/1/editto/blog/2/editwith a dirty draft reused the component,
skipped the guard and dropped the edits. It now registers
onBeforeRouteUpdatetoo. A navigation that keeps the route params, such as
a?tab=or hash change, does not ask. Pass
{ sameRecord: (to, from) => boolean }as the second argument when the
record is not identified by the params. Leaving the route asks as before.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads