paoloricciuti
a78111f85d
fix: remove `.at(-1)`
5 days ago
paoloricciuti
dfbc271599
chore: alterative functional templating syntax
5 days ago
paoloricciuti
a48df4a44a
Merge remote-tracking branch 'origin/main' into templateless-template-generation
5 days ago
github-actions[bot]
f498a21063
Version Packages ( #15587 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
6 days ago
Paolo Ricciuti
3080c1334e
fix: prevent state runes from being called with spread ( #15585 )
...
* fix: prevent state runes from being called with spread
* prevent spread arguments for all runes except $inspect
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 week ago
github-actions[bot]
7fe9bf524b
Version Packages ( #15582 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 week ago
Paolo Ricciuti
78d238c5a3
chore: revert version check in migrate ( #15583 )
1 week ago
Paolo Ricciuti
33d118f8a2
feat: migrate reassigned deriveds to `$derived` ( #15581 )
1 week ago
github-actions[bot]
c1ae8953aa
Version Packages ( #15580 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 week ago
Rich Harris
d8afd8e46c
fix (this broke the sandbox)
1 week ago
Blade Barringer
d1bd32ec9e
fix: allow get_proxied_value to return original value when error ( #15577 )
...
* fix: allow get_proxied_value to return original value when error
closes #15546
* Update packages/svelte/src/internal/client/proxy.js
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev>
1 week ago
Rich Harris
ef98ccae8b
doh
1 week ago
Rich Harris
441108b8ff
fix docs
1 week ago
github-actions[bot]
6e343b9ad7
Version Packages ( #15578 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 week ago
Rich Harris
5a8fa69dbf
feat: make deriveds writable ( #15570 )
...
* feat: make deriveds writable
* add optimistic UI example
* add note to when-not-to-use-effect
* add section on deep reactivity
* root-relative URL
* use hash URL
* mention const
* make handler async, move into script block
1 week ago
github-actions[bot]
2d3b65dfbd
Version Packages ( #15575 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 week ago
Rich Harris
842a7c6995
docs: update state_unsafe_mutation message ( #15539 )
...
* docs: update state_unsafe_mutation message
* regenerate
* fix example
1 week ago
Dominic Gannaway
1f37c02f91
fix: ensure toStore root effect is connected to correct parent effect ( #15574 )
...
* fix: ensure toStore root effect is connected to correct parent effect
* prettier
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 week ago
Paolo Ricciuti
ade66c6fea
fix: use `get` in constructor for deriveds ( #15300 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 week ago
Rich Harris
83d0c5894d
docs: add note on effect-local state ( #15572 )
1 week ago
Rich Harris
6b23a7c477
chore: camelCase -> snake_case ( #15573 )
1 week ago
github-actions[bot]
e25c281296
Version Packages ( #15551 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 week ago
Rich Harris
d2e79326c7
fix: don't depend on deriveds created inside the current reaction ( #15564 )
...
* WIP
* WIP
* add test
* update test
* changeset
* oops
* lint
1 week ago
Dominic Gannaway
1d10a65b78
fix: check if DOM prototypes are extensible ( #15569 )
1 week ago
Robert Gieseke
1a5fb8fd51
fix: Keep inlined JSDoc comments in property conversion of svelte-migrate ( #15567 )
...
* Add failing JSDoc property svelte-migrate conversion tests
* Add further test case and remove default value in JSDoc output
* Look for inlined JSDoc comments after a hyphen
* Add changeset
1 week ago
paoloricciuti
ad56847ce9
fix: silly goose am i 🪿
1 week ago
paoloricciuti
72f93e361f
chore: sprinkle comments here and there
1 week ago
Rich Harris
6915c12b58
feat: allow state created in deriveds/effects to be written/read locally without self-invalidation ( #15553 )
...
* move parent property onto Signal
* don't self-invalidate when updating a source create inside current reaction
* lazily create deep state with parent reaction
* no need to push_derived_source with mutable_state, as it never coexists with $.derived
* reduce indirection
* remove state_unsafe_local_read error
* changeset
* tests
* fix test
* inelegant fix
* remove arg
* tweak
* some progress
* more
* tidy up
* parent -> p
* tmp
* alternative approach
* tidy up
* reduce diff size
* more
* update comment
1 week ago
Rich Harris
c7ce9fc004
fix benchmarks ( #15560 )
1 week ago
paoloricciuti
4daa63a8c9
fix: snapshot test runner
1 week ago
paoloricciuti
ba237c7f50
chore: don't write different `rendered`
1 week ago
paoloricciuti
403b17e944
chore: update snapshots
1 week ago
paoloricciuti
132ea2bcce
Merge remote-tracking branch 'origin/main' into templateless-template-generation
1 week ago
paoloricciuti
59902ccead
chore: simplify `process_children`
1 week ago
paoloricciuti
95ce311613
chore: revert unneeded change to `package.json`
1 week ago
paoloricciuti
64219ed5e4
chore: change options from `boolean` to `list` (templatingMode: "functional")
1 week ago
paoloricciuti
c75c42949b
chore: run test suite on both `functional` and `string` templating
1 week ago
paoloricciuti
8424395ac4
chore: remove `prevent-template-cloning` test
1 week ago
paoloricciuti
7c7a85754b
feat: make all tests pass with functional templates
1 week ago
Rich Harris
c436b6cdbe
fix: simplify set calls for proxyable values ( #15548 )
...
* chore: simplify set calls for proxyable values
* changeset
1 week ago
Rich Harris
99ca7a4d7f
chore: create stack lazily when proxying value ( #15547 )
1 week ago
Rich Harris
701f085c82
docs: rewrite context docs ( #15541 )
1 week ago
Rich Harris
8f940ee0ff
docs: use function bindings in "when not to use effect" ( #15544 )
1 week ago
paoloricciuti
8a737f1070
feat: add option `preventTemplateCloning` and functions transformation
2 weeks ago
github-actions[bot]
190c0c7653
Version Packages ( #15536 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2 weeks ago
paoloricciuti
575908afc1
fix: auto import fumble
2 weeks ago
paoloricciuti
de8a38ba0e
feat: templateless template generation
2 weeks ago
henrykrinkle01
0af6f20c77
Fix grammar ( #15533 )
2 weeks ago
Paolo Ricciuti
5b9f0df8ee
fix: don't hoist listeners that access non hoistable snippets ( #15534 )
...
* fix: don't hoist listeners that access non hoistable snippets
* chore: add comment
* chore: fix auto import fumble
2 weeks ago
github-actions[bot]
74917ae703
Version Packages ( #15501 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2 weeks ago