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
This breaks one of our actions that depends on the full initialization of its children (including executing their actions) to be able to properly achieve its own work.
Reproduction
<script>
constaction= (element) => {console.log(`Action run for element ${element.id}`); };
</script>
<divuse:actionid="0">
<divuse:actionid="1">
</div>
</div>
We can either change the behaviour of actions to match Svelte 4, so child element actions come first – or we can document this change as a breaking change for Svelte 5.
Describe the bug
As reported by @quentinderoubaix in the svelte-5-rc discord channel, the current rc version of Svelte 5 (5.0.0-next.258) changes the order of execution of actions compared to Svelte 4.
This breaks one of our actions that depends on the full initialization of its children (including executing their actions) to be able to properly achieve its own work.
Reproduction
Check in Svelte 4
Check in Svelte 5
Logs
In Svelte 4:
In Svelte 5:
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: