Replies: 1 comment 3 replies
-
The module script is not being replaced as far as I know and probably shouldn't really be in that specific listing. The main behavior difference in v3/v4 is that variables in the module script are not reactive, this is not the case with runes. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure I've read all the documentation on Svelte 5.
But the only description I can find is:
https://svelte.dev/blog/runes#simpler-times-ahead
What exactly has become of
<script context="module">
in Svelte 5? What has it been replaced?<script>
in Svelte 5?Runes
mode is not enabled?*.svelte.js
file?import Example, { alertTotal } from './Example.svelte'
still valid?moduleVariable
is updated, but is not declared with $state(...)... #11269Beta Was this translation helpful? Give feedback.
All reactions