-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Describe the bug
svelte reactivity is completely broken out of the box.
with import { SvelteDate } from 'svelte/reactivity' please see playground example.
h1is reactive, as reasonably expectedh2andh3are both not reactive! (time not updating)- but like
h4that is suddenly reactive?!
なに??!!
is the behavior indented?
am I missing something?
bonus
change playground example
- let date=new SvelteDate()
+ let date=$state(new Date())nothing updates at all.
according to Advanced Svelte / Advanced reactivity / Reactive built-ins that should work.
Reproduction
Logs
No response
System Info
all not working
- Chromium Version 129.0.6668.89 (Official Build) snap (64-bit)
- Firefox 132.0b5 20241008203725 mozilla-deb
- node v18.19.0Severity
blocking all usage of svelte
Metadata
Metadata
Assignees
Labels
No labels