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

Skeleton-Svelte: Replace useId with $props.id. #3215

Open
Hugos68 opened this issue Feb 12, 2025 · 0 comments
Open

Skeleton-Svelte: Replace useId with $props.id. #3215

Hugos68 opened this issue Feb 12, 2025 · 0 comments
Assignees
Labels
feature request Request a feature or introduce and update to the project.
Milestone

Comments

@Hugos68
Copy link
Contributor

Hugos68 commented Feb 12, 2025

Describe the feature in detail (code, mocks, or screenshots encouraged)

Svelte version 5.20 released a new rune: $props.id: https://svelte.dev/docs/svelte/$props#$props.id()
This will remove the need for our own version + this one is consistent across server boundaries. We should aim to replace all useId calls with $props.id() and remove the utility entirely.

What type of pull request would this be?

Enhancement

Provide relevant links or additional information.

No response

@Hugos68 Hugos68 added the feature request Request a feature or introduce and update to the project. label Feb 12, 2025
@Hugos68 Hugos68 added this to the v3.0 (Next) milestone Feb 12, 2025
@Hugos68 Hugos68 self-assigned this Feb 12, 2025
@endigo9740 endigo9740 changed the title [NEXT] - [@skeletonlabs/skeleton-svelte]: Replace useId with $props.id. Skeleton-Svelte: Replace useId with $props.id. Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a feature or introduce and update to the project.
Projects
None yet
Development

No branches or pull requests

1 participant