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

Update mention about dynamically generated slot names #6440

Merged
merged 5 commits into from
Jan 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/en/core-concepts/astro-components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ Named slots can also be passed to [UI framework components](/en/core-concepts/fr


:::note
An astro slot name can not be dynamically generated, such as within a map function. If this feature is needed within UI framework components, it might be best to generate these dynamic slots within the framework itself.
To dynamically generate an astro slot name, such as within a map function, you need use Astro versions later than 4.2.0. If this feature is needed within UI framework components on older Astro versions, it might be best to generate these dynamic slots within the framework itself.
MoustaphaDev marked this conversation as resolved.
Show resolved Hide resolved
:::


Expand Down
Loading