Commit Graph

46 Commits (beeaa3d09bea4db5a5fd12962d15b591836d63bc)

Author SHA1 Message Date
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
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
Richard Harris c2d4ce3395 add process to globals whitelist
7 years ago
Richard Harris 436fffb6bb cut out the middleman
7 years ago
Richard Harris ef944b5713 prevent parent component modifying child component state - fixes #1924
7 years ago
Rich Harris 7440fa54e9 remove missing prop warning false positives - fixes #1902
7 years ago
Rich Harris 1f46e23e1b
More conservative invalidation
7 years ago
Rich Harris f991a41d83
store auto-subscriptions
7 years ago
Rich Harris 48f1f6b4d0
implement `bind:this`
7 years ago
Rich Harris f45e2b70fd
Implement reactive assignments (#1839)
7 years ago
Pat Cavit cb4a46d33f fix: add check for template store to conditional (#1829)
7 years ago
Rich Harris 8929aebbec better error for missing store - fixes #1807
7 years ago
Rich Harris e0fe31327a move render logic into separate phase (#1678)
7 years ago