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 }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
A route autosubscribing to $page.params will be unsubscribed before $page.params is changed to a new route
Actual Behavior
The autosubscription is being triggered late exactly once, i.e. if I navigate from channels/[slug].svelte to games/[slug].svelte, the Channel route's subscription will be triggered exactly once with the slug param for the Game route
The text was updated successfully, but these errors were encountered:
I'm facing the same issue, I also tried to unsubscribe in onDestroy hook but it's trigger too late. Have you find a workaround ? Actualy, I compare route path to prevent function :
Expected Behavior
A route autosubscribing to
$page.params
will be unsubscribed before$page.params
is changed to a new routeActual Behavior
The autosubscription is being triggered late exactly once, i.e. if I navigate from
channels/[slug].svelte
togames/[slug].svelte
, the Channel route's subscription will be triggered exactly once with theslug
param for the Game routeThe text was updated successfully, but these errors were encountered: