-
Notifications
You must be signed in to change notification settings - Fork 14
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
[RFC] as
design pattern is deprecated on Radix-UI
#218
Labels
enhancement
New feature or request
Comments
seedy
changed the title
Dec 6, 2021
as
design pattern is deprecatedas
design pattern is deprecated on Radix-UI
It seems making sense 👍 |
Yes, I agree |
@seedy Handle the update either by listing tasks in issue description or pushing separate issues Then see if it can be handled quickly or not |
Components already relying on the
|
seedy
changed the title
[RFC] Apr 13, 2022
as
design pattern is deprecated on Radix-UIas
design pattern is deprecated on Radix-UI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Radix deprecated
as
design pattern andPolymorphic
in favor ofasChild
design pattern.Their
Slot
lib component handles internal logic for theasChild
pattern.There's recommendations to reuse it, even if they deprecated it to drop support.
I think we should prepare for dropping of
as
design pattern and follow theasChild
one.WDYT?
https://www.radix-ui.com/docs/primitives/utilities/slot
Tasks
asChild
pattern:The text was updated successfully, but these errors were encountered: