svelte-5-bug-delay-in-applying-css-classes-from-derived-rune Svelte Themes

Svelte 5 Bug Delay In Applying Css Classes From Derived Rune

When a $derived value is used as the first class in a class attribute within a Svelte component, there is an unexpected delay in applying the subsequent CSS class definitions

Clone and run locally to reproduce. Reload the page. Notice how the bold formatting is applied after a short delay only for the first line of text

Top categories

Loading Svelte Themes