You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use new untrack utility function when available #9911
Currently we rely on a hacky way of accessing certain SvelteKit event properties without triggering a route invalidation in our load wrappers.
SvelteKit 2 introduced the long discussed untrack function which should allow us to access the values in a safe and SvelteKit native way without triggering invalidation.
Since we want to maintain 1.x support, we need to implement this backwards-compatible and still rely on our hacky approach until we drop 1.x sometime in the future.
Activity
AbhiPrasad commentedon Dec 11, 2024
Is this something we can evaluate for v9?
Lms24 commentedon Dec 11, 2024
@AbhiPrasad Yes we should! Since we already discussed dropping SvelteKit 1.x support for v9, we could simply use
untrack.feat(sveltekit): use untrack when available to read route id without …
github-actions commentedon Feb 16, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #19272, which was included in the 10.39.0 release.