Skip to content
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

Change slots to @render calls (snippets). #652

Open
hperrin opened this issue Mar 13, 2024 · 0 comments
Open

Change slots to @render calls (snippets). #652

hperrin opened this issue Mar 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@hperrin
Copy link
Owner

hperrin commented Mar 13, 2024

<slot />

becomes

{@render children()}

https://svelte-5-preview.vercel.app/docs/snippets#passing-snippets-to-components

@hperrin hperrin self-assigned this Mar 13, 2024
@hperrin hperrin added the enhancement New feature or request label Mar 13, 2024
@hperrin hperrin changed the title Change slots to @render calls. Change slots to @render calls (snippets). Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant