Commit Graph

44 Commits (2e8a205161cdeba3563bba6bf6221cda1d8dc037)

Author SHA1 Message Date
Rich Harris 2e8a205161
chore: remove outdated comment (#12632)
1 year ago
Simon H 2698716bdf
docs: fine-tune $props types info (#12534)
1 year ago
Simon H 73d97f7af9
docs: fix `$effect.pre` code example (#12444)
1 year ago
Simon H 33e44ea697
feat: allow `let props = $props()`, optimize prop read access (#12201)
1 year ago
Ahmad S d9e8acd0d8
docs: rename `$effect.active to `$effect.tracking` in REPL example (#12200)
1 year ago
Ahmad S b93adb7d00
docs: correct $effect examples (#12196)
1 year ago
Dominic Gannaway 59f7bd6f9f
fix: improve await block behaviour in non-runes mode (#12179)
1 year ago
Dominic Gannaway e3d8ee6c6d
chore: add note for state.is using object.is (#12180)
1 year ago
Rich Harris 4540ff3118
docs: tweak effect docs (#11982)
1 year ago
Dominic Gannaway ccb3c90cd5
breaking: rename $effect.active to $effect.tracking (#12022)
1 year ago
Rich Harris 3bfb302a63
chore: tweak effect docs (#11979)
1 year ago
Sharath Kumar 35f92cf683
docs: update runes api.md (#11877)
1 year ago
Rich Harris a7b61c0f30
docs: use a canvas demo for `$effect` (#10745)
1 year ago
Dominic Gannaway f488a6e84a
feat: add $state.is rune (#11613)
1 year ago
Simon H 0cf10a361e
docs: note jsdoc syntax for declaring props (#11370)
1 year ago
Rich Harris 1a341a25f0
docs: rename /docs/functions to /docs/imports, include svelte/reactivity, tweak various things (#11187)
1 year ago
Dominic Gannaway 18097478fc
breaking: remove unstate(), replace with $state.snapshot rune (#11180)
1 year ago
Ben M 51faf07897
update runes $effect example (#11137)
1 year ago
Tee Ming fe21a799db
fix broken links (#11145)
1 year ago
Simon H 22494be9ec
feat: introduce `$host` rune, deprecate `createEventDispatcher` (#11059)
1 year ago
Ignatius Bagus 0fa9d16e53
docs: fix $bindable hash link (#11011)
1 year ago
Simon H 416bc85d9c
breaking: add $bindable() rune to denote bindable props (#10851)
1 year ago
Dominic Gannaway fe3b3b463c
feat: adds reactive Map class to svelte/reactivity (#10803)
1 year ago
Rich Harris 77f39ea988
breaking: make `$props()` rune non-generic (#10694)
2 years ago
Rich Harris 14492ad639
docs: simplify when-not-to-use-effects (#10749)
2 years ago
Rich Harris 5086ef4b07
docs: use a `setInterval` demo (#10747)
2 years ago
Ben McCann 6a01f48325
docs: clarify effect alternatives section (#10718)
2 years ago
Simon H ee04f973b2
docs: enhance `$effect` documentation (#10680)
2 years ago
Rich Harris d41d0c26ad
chore: rename `$derived.call` to `$derived.by` (#10445)
2 years ago
Rich Harris ccc7266fd9
docs: clarify that `$state` works deeply (#10354)
2 years ago
Dominic Gannaway d9a6b8b17a
chore: add $derived.call rune (#10240)
2 years ago
Ben McCann 0fd1c92822
docs: better clarify not to compute state in `$effect` (#9940)
2 years ago
Dominic Gannaway 75cd1e825c
feat: add $state.frozen rune (#9851)
2 years ago
Rob B 3a9b1436e8
docs: fix typos (#9849)
2 years ago
Simon H df5105ef2e
breaking: change `$inspect` API (#9838)
2 years ago
Rich Harris 75fc09a79e
Proxied state (#9739)
2 years ago
Rich Harris bde42d5676
`$inspect` rune (#9705)
2 years ago
Dominic Gannaway 81d3e47d1c
feat: add $effect.root rune (#9638)
2 years ago
Yuichiro Yamashita 7825570b07
fix typos (#9622)
2 years ago
Rich Harris f40efb2027
`$effect.active` docs (#9598)
2 years ago
Rich Harris 95c6b65f6f
docs: document class state fields (#9563)
2 years ago
Rich Harris 6bba70a2a5
Docs (#9449)
2 years ago
Simon H c6c934afb2
chore: cleanup (#9381)
2 years ago
Simon Holthausen fe8a9ce31d breaking: init Svelte 5
2 years ago