-
-
Notifications
You must be signed in to change notification settings - Fork 432
(v3) preload
in context="module" not registering until restart
#611
Comments
I'm hoping this was fixed in 0.27.5 by #713. |
Still seeing this in v0.27.8. |
I can confirm that I'm still seeing this issue |
The |
This might be a Svelte issue, but filing it here.
There's a weird thing happens in v3 Sapper/Svelte where
preload
works in some components/pages and not others. Even identical code withinpreload
.Turns out it does work the same in these components/pages. One just has to completely restart Sapper for the new
context="module"
script to register the preload.Example without restart:
Given:
One will see the following error:
Restarting, the error goes away, and preload works.
The text was updated successfully, but these errors were encountered: