You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of migrating shadcn-svelte to svelte 5. There are a lot of API changes on the components and it would be nice to have some examples on best ways to migrate those. Specially for when a prop was removed for example:
That dropdown menu item is invalid because the new dropdown menu item no longer has the href prop, the asChild prop has also being removed. So to get similar behaviour to before I am having to make an a tag the child of the item and do some weird stuff around paddings. Which is fine but it would be nice to have a clear "this is the way we recommend migrating the components"
Again this is just an example, as I find more I am happy to add them here.
The text was updated successfully, but these errors were encountered:
Change Type
Addition
Proposed Changes
Hey!
I'm in the process of migrating shadcn-svelte to svelte 5. There are a lot of API changes on the components and it would be nice to have some examples on best ways to migrate those. Specially for when a prop was removed for example:
That dropdown menu item is invalid because the new dropdown menu item no longer has the href prop, the asChild prop has also being removed. So to get similar behaviour to before I am having to make an a tag the child of the item and do some weird stuff around paddings. Which is fine but it would be nice to have a clear "this is the way we recommend migrating the components"
Again this is just an example, as I find more I am happy to add them here.
The text was updated successfully, but these errors were encountered: