-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Svelte 5 @render syntax #12328
Conversation
🦋 Changeset detectedLatest commit: 694e33a The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Thanks for fixing this! I tested it locally and it seems to work well too. Let's merge this one before working on full Svelte 5 support at #12364 |
I just realized this is merged into |
Changes
@render
syntax in Astro integration$$slots
and<slot />
@render children
and{@render children()}
Can't be combined in the same component.
Svelte 5 Render »
Testing
Created test Astro project with Svelte integration
Tested with both legacy and new syntax patterns
Docs
No documentation probably needed for this. Example project for svelte might need to be updated later on.