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
I first noticed this while using svelte-routing, but narrowed down my issues to the absence of context. In my specific, wrapping the rest of the routing components (like Link) in a new Router instance solved the issue. But it appears that #async severs the propagation of context.
The text was updated successfully, but these errors were encountered:
Components rendered inside an
async/then
block do not appear to have access to context variables.Reproduced here: https://svelte.dev/repl/3ab4c93f92684325a70dcd5aee38dccf?version=3.6.7
I first noticed this while using
svelte-routing
, but narrowed down my issues to the absence of context. In my specific, wrapping the rest of the routing components (like Link) in a newRouter
instance solved the issue. But it appears that#async
severs the propagation of context.The text was updated successfully, but these errors were encountered: