0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00
astro/packages/integrations/svelte
Hugo Korte a05e6ab720
bugfix(svelte): fix colliding id's generated from $props.id (#13339)
* bugfix(svelte): fix colliding id's generating from $props.id by utilizing the new `uidPrefix` option exposed for both server and client side rendering.

* bugfix(svelte): changeset

* Add server side ID prefix, not sure how to do this on the client.

* Discard changes to packages/integrations/svelte/client.svelte.js

* Update .changeset/flat-cherries-rule.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

* feat: context

* revert peerDep bump

* revert html variable seperation

* feat: rename

* fix lockfile

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-03-05 12:55:30 +01:00
..
src Update to svelte 5 (#12364) 2024-11-14 23:31:51 +08:00
CHANGELOG.md [ci] release (#13318) 2025-02-27 13:26:41 +00:00
client.svelte.js Fix typo (#13126) 2025-02-04 09:51:56 +00:00
context.js bugfix(svelte): fix colliding id's generated from $props.id (#13339) 2025-03-05 12:55:30 +01:00
package.json bugfix(svelte): fix colliding id's generated from $props.id (#13339) 2025-03-05 12:55:30 +01:00
README.md
server.d.ts Fix Vue & Svelte server renderer types (#12776) 2025-01-02 09:56:07 +00:00
server.js bugfix(svelte): fix colliding id's generated from $props.id (#13339) 2025-03-05 12:55:30 +01:00
tsconfig.json

@astrojs/svelte 🧡

This Astro integration enables server-side rendering and client-side hydration for your Svelte components. It supports Svelte 3, 4, and 5 (experimental).

Documentation

Read the @astrojs/svelte docs

Support

Contributing

This package is maintained by Astro's Core team. You're welcome to submit an issue or PR! These links will help you get started:

License

MIT

Copyright (c) 2023present Astro