Commit Graph

61 Commits (c67f5348ea3a596ce408d85c09b15fad50f16679)

Author SHA1 Message Date
Emil Tholin 643aa41b9a Set mutated const variables as reactive dependencies
6 years ago
Conduitry fc5727c187 fix instrumentation of auto-subscription self-assignments (#2681)
6 years ago
Rich Harris 6240ed0b94
Merge pull request #2619 from sveltejs/gh-2435
6 years ago
Rich Harris 1eca19f371
Merge pull request #2631 from EmilTholin/reactive-values-fixed
6 years ago
Conduitry 10f6da3109 fix invalidating stores with UpdateExpression (#2625)
6 years ago
Emil Tholin 0e0da70917 Check 'injected' and 'fixed_reactive_declarations' independently
6 years ago
Conduitry 0d890b1359 fix resubscriptions inside script block (#2435)
6 years ago
Richard Harris 1c5c688dc5 remove renderer.slots
6 years ago
Richard Harris d2568aa583 skip observedAttributes where appropriate - fixes #2399
6 years ago
Richard Harris b36d24032b optimise certain $$invalidate calls
6 years ago
Richard Harris 30c8fe0c6e allow reactive declarations without dependencies - fixes #2285
6 years ago
Rich Harris 52c42d3252 remove unused import
7 years ago
Rich Harris 5ae5bb4b91 handle arbitrary slot names
7 years ago
Rich Harris f6aed0810b
Merge pull request #2265 from sveltejs/gh-2119
7 years ago
Rich Harris beeaa3d09b
Merge pull request #2266 from sveltejs/gh-2264
7 years ago
Rich Harris 0f4cf99bcd allow reactive declarations to only depend on $$props - fixes #2264
7 years ago
Rich Harris 9955ac13ac handle assignments to store values in reactive declarations (#2119)
7 years ago
Conduitry 5c9fa293a6 fix logic for inclusion of getters/setters on components (32262)
7 years ago
Conduitry 6354c66890 fix renamed instance exports (#2253)
7 years ago
Rich Harris 21d56c9ee3
Tidy up (#2252)
7 years ago
Rich Harris f6607bea40
Merge pull request #2242 from sveltejs/gh-2144
7 years ago
Richard Harris 83a9b6af23 default to accessors: false (#2144)
7 years ago
Richard Harris 6d3e47812d subscribe to global stores (#2139)
7 years ago
Richard Harris 9ea663e312 store prop names as $$.props, prevent leaky bindings. fixes #2222
7 years ago
Richard Harris 06de45d4be remove some unused code
7 years ago
Richard Harris 1b3af6a5a6 generalise pattern of treating $foo as a store value but $$foo as internal
7 years ago
Richard Harris 9508b0d3dd merge gh-2186 -> master
7 years ago
Richard Harris 19d3564fc8 use add_var mechanism to create implicit $$props var
7 years ago
Richard Harris 7abf32f275 implement $$props - fixes #2186
7 years ago
Mikhail Korepanov 3ced3c1325 Don't invalidate `this`. Fixes #2184
7 years ago
Richard Harris f124f3c081 unsubscribe and resubscribe when stores are reassigned - fixes #2014
7 years ago
Richard Harris 534f6e5425 init store values in situ - fixes #2015
7 years ago
Richard Harris 9757fbfdb8 move store subscriptions into a helper. broke a bunch of stuff, bear with me
7 years ago
Richard Harris 70ddabde7f declare $vars up top
7 years ago
Richard Harris 19f6727c8d handle implicit and explicit-but-undefined props — fixes #2024
7 years ago
Rich Harris a8fcc72d43 fix #2076
7 years ago
Rich Harris bf16bb89c3 only do dirty check for writable values - fixes #2052
7 years ago
Rich Harris 539fbbd8ef inject lets for reactive declarations where necessary - fixes #2059
7 years ago
Rich Harris 2703f609a5 avoid spread pattern, it causes some problems with some setups somehow???
7 years ago
Conduitry 5b9cc176df rename properties to component.compileOptions and .componentOptions
7 years ago
Conduitry a270661d20 rename `<svelte:meta>` to `<svelte:options>` (#2017)
7 years ago
Rich Harris b1d919f3f2
Overhaul stats — closes #1891
7 years ago
Rich Harris c2e6d1bf0d
Better composition — implements https://github.com/sveltejs/rfcs/pull/12
7 years ago
Richard Harris ed9df1fff3 dont use identity function to reflect props
7 years ago
Richard Harris 3359b5fb3a set immutable option correctly - fixes #1968
7 years ago
Richard Harris 016bf84800 dont pass around reference to component
7 years ago
Richard Harris dcc1996aef prevent duplicate declaration of store values - fixes #1883
7 years ago
Rich Harris d6552025e4
fix hoisting of functions that reference imported values - fixes #1933
7 years ago
Rich Harris f8517edba9
Merge pull request #1932 from sveltejs/gh-1931
7 years ago
Richard Harris 454ff8d84e rewrite props after instrumentation - fixes #1931
7 years ago