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
The reason why i can say that afterUpdate is not called is because i started debugging this and went into chrome sources and added some breakpoints in the root sveltekit component.
Specifically i've added a breakpoint in the $effect.pre that reads the store and call set on the page store and a breakpoint inside the afterUpdate
The text was updated successfully, but these errors were encountered:
Describe the bug
The effect of this is that if you fail an action on a form that is using enhance the page store doesn't update. It might have other repercussions.
Reproduction
./src/[test]/+page.server.ts
and swap line 18 and 19 (return fail instead of actual data)Reproduction 2
I was able to come up with an even more minimal reproduction in the svelte 5 repl
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
The reason why i can say that afterUpdate is not called is because i started debugging this and went into chrome sources and added some breakpoints in the root sveltekit component.
Specifically i've added a breakpoint in the
$effect.pre
that reads the store and call set on the page store and a breakpoint inside the afterUpdateThe text was updated successfully, but these errors were encountered: