Closed itsonlyjames closed 9 months ago
Using svelte 5.0.0-next.10 produces an error where "modalStore" (a store) cannot be bound multiple times in the same parameter list.
Based on the docs
Current Svelte code will continue to work without any adjustments. Components using the Svelte 4 syntax can use components using runes and vice versa.
Ideally we're expecting this to be resolved for the sake of backwards compatibility without affecting existing components.
The affected svelte file: https://github.com/skeletonlabs/skeleton/blob/master/packages/skeleton/src/lib/utilities/Modal/Modal.svelte
https://github.com/mmailaender/svelte5
Run
pnpm i pnpm dev
n/a
System: OS: macOS 14.0 CPU: (10) arm64 Apple M2 Pro Memory: 65.84 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm bun: 1.0.4 - /usr/local/bin/bun Browsers: Chrome: 119.0.6045.159 Safari: 17.0
blocking an upgrade
Closing due to duplicate of #9611
Describe the bug
Using svelte 5.0.0-next.10 produces an error where "modalStore" (a store) cannot be bound multiple times in the same parameter list.
Based on the docs
Ideally we're expecting this to be resolved for the sake of backwards compatibility without affecting existing components.
The affected svelte file: https://github.com/skeletonlabs/skeleton/blob/master/packages/skeleton/src/lib/utilities/Modal/Modal.svelte
Reproduction
https://github.com/mmailaender/svelte5
Run
Logs
n/a
System Info
Severity
blocking an upgrade