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
This component works as expected in Svelte v4. However, while testing the Svelte v5 RC, there are a number of errors present when using this component. See the screenshot below:
a11y warning:
2:16 The `accessors` option has been deprecated. It will have no effect in runes mode
Expected Behavior
While we won't be utilizing Svelte v5 features in Skeleton until our v3 release, we do expect users to migrate to Svelte v5 prior to migrating to Skeleton v3. This means there will be a period of time while they are running Skeleton v2 + Svelte v5. As such, we should try to resolve these errors as they are breaking issues.
Steps To Reproduce
You can temporarily switch to Svelte v5 RC to test and develop your changes using:
pnpm i -D svelte@next
The doc site should remain fully functional during this. Just make sure to revert these changes before we merge these changes in to the dev branch.
Link to Reproduction / Stackblitz
No response
More Information
It's of the upmost importance that we do not merge the Svelte v5 RC dependency change into dev branch, so take care to add a big markdown note in the PR message please!
ETA for this change is before the Svelte v5 stable release, but the sooner the better for early adopters!
The text was updated successfully, but these errors were encountered:
Regrettably, the tree-view component will not maintain compatibility with both Svelte 4 and Svelte 5 simultaneously due to its dependency on the Svelte 4 API.
In Svelte 4, components are represented as classes, which are utilized within the tree-view to allocate events to its children.
But in Svelte 5, components are functions, so it's impossible to find a solution that fits both Svelte 4 and Svelte 5 methodologies.
Current Behavior
This component works as expected in Svelte v4. However, while testing the Svelte v5 RC, there are a number of errors present when using this component. See the screenshot below:
a11y warning:
Expected Behavior
While we won't be utilizing Svelte v5 features in Skeleton until our v3 release, we do expect users to migrate to Svelte v5 prior to migrating to Skeleton v3. This means there will be a period of time while they are running Skeleton v2 + Svelte v5. As such, we should try to resolve these errors as they are breaking issues.
Steps To Reproduce
You can temporarily switch to Svelte v5 RC to test and develop your changes using:
The doc site should remain fully functional during this. Just make sure to revert these changes before we merge these changes in to the
dev
branch.Link to Reproduction / Stackblitz
No response
More Information
It's of the upmost importance that we do not merge the Svelte v5 RC dependency change into
dev
branch, so take care to add a big markdown note in the PR message please!ETA for this change is before the Svelte v5 stable release, but the sooner the better for early adopters!
The text was updated successfully, but these errors were encountered: