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
JavaScript allows multiple script blocks. Therefore, if a JavaScript programmer starts using svelte, it's very confusing to NOT be able to have multiple script blocks. Furthermore, generating svelte code is MUCH more difficult when all JavaScript code needs to be put into a single script block. I'm very disappointed with the response to the previous feature request for these reasons.
Describe the proposed solution
Simply allow multiple script blocks, as is done in JavaScript.
Alternatives considered
There are no good alternatives.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered:
#6387 had already been closed with an explanation given at #6387 (comment) (and I agree with it too). If you have further arguments please comment in that issue instead.
Describe the problem
JavaScript allows multiple script blocks. Therefore, if a JavaScript programmer starts using svelte, it's very confusing to NOT be able to have multiple script blocks. Furthermore, generating svelte code is MUCH more difficult when all JavaScript code needs to be put into a single script block. I'm very disappointed with the response to the previous feature request for these reasons.
Describe the proposed solution
Simply allow multiple script blocks, as is done in JavaScript.
Alternatives considered
There are no good alternatives.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered: