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
Calling the method invalidateUrl from a +page.svelte does not work if the referenced url of the fetch call is made from a page.serverload method. It works in any other case (invalidateAll or depends).
If this is intended, I think it would need a clarification in the documentation.
Describe the bug
Calling the method
invalidateUrl
from a+page.svelte
does not work if the referenced url of thefetch
call is made from apage.server
load
method. It works in any other case (invalidateAll
ordepends
).If this is intended, I think it would need a clarification in the documentation.
Reproduction
https://github.com/Ennoriel/bug-svelte-invalidate-url-load-server
On the repo, there are 6 scenarios shown:
page.ts
file - OKpage.server.ts
file - OKpage.ts
file - OKpage.server.ts
file - KOpage.ts
file - OKpage.server.ts
file - OKLogs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: