Open
Description
Describe the bug
Some libraries don't work with Svelte 5 out of the box. It will probably be impossible to make every library compatible given that some use stuff svelte/internal
(which they really shouldn't) and everything in there changed, but those who don't should be closely investigated. Feel free to post libraries you found that don't work in here, ideally along with a small reproduction (repro or "install and use component X").
Won't / can't fix
@tanstack/svelte-table
, because it usessvelte/internal
in a way that can't be backported Svelte 5 support: ERROR: No matching export in "a" for import "b" TanStack/table#5213 - but a new version of the library is underway with Svelte 5 support! In the meantime there's also a drop-in replacement available at https://www.npmjs.com/package/tanstack-table-8-svelte-5- cmdk-sv / shadcn-svelte search box - manually interacts with the DOM, needs change in the library Filtering breaks on Svelte-5 huntabyte/cmdk-sv#92
- Vercel AI SDK Svelte wrapper - a dependency of that library is using
beforeUpdate
, the dependency likely needs to be switched out for something else Svelte 5 Support vercel/ai#3107
Fixed
svelte-confetti
svelte-range-slider-pips
(through fix: better interop of$state
with actions/$:
statements #10543)
Reproduction
Use the libraries and observe errors
Logs
No response
System Info
-
Severity
annoyance