Richard Harris
468b5dc0c4
fix tests
6 years ago
Richard Harris
ef944b5713
prevent parent component modifying child component state - fixes #1924
6 years ago
Rich Harris
1f46e23e1b
More conservative invalidation
6 years ago
Conduitry
df57e508f8
use extension-less import for svelte/internal
6 years ago
Rich Harris
f45e2b70fd
Implement reactive assignments ( #1839 )
...
This also includes elements of RFCs 2 and 3
6 years ago
Rich Harris
4a88c9ccb5
remove -bundle files
6 years ago
Josh Duff
211e0383cf
Only update inputs when the value changed
...
Fixes #1699
7 years ago
Rich Harris
a18cec0ec6
not sure where that extra blank line came from
7 years ago
Rich Harris
c2f0ca3e2e
alternative approach to #1520
7 years ago
Jacob Wright
2c24c36120
Allows fragment updates to happen after state updates
...
Proposed fix for #1520 . Provides a starting point for discussion.
7 years ago
Rich Harris
d323f51e6c
update tests
7 years ago
Rich Harris
b94d7adfec
replace appendNode(node, parent) with append(parent, node) - easier to follow
7 years ago
Conduitry
e66d9ffae7
in .fire always set calling flag back to false ( #1587 )
...
* in .fire always set calling flag back to false (#1573 )
* update expected bundles
7 years ago
Pavel Malyshev
52ece0b5f0
Fix for #1538
7 years ago
Rich Harris
c4937d271f
fix skipped intros
7 years ago
Rich Harris
042ec54f7f
nested component transitions
7 years ago
Rich Harris
44bb2da29b
add skipIntroByDefault compiler option ( #547 )
7 years ago
Rich Harris
103f278cfc
update tests
7 years ago
Rich Harris
a29e2733cd
update tests
7 years ago
Rich Harris
86d3476b55
minor fixes, update various tests
7 years ago
Rich Harris
f8b076b2f3
set state to blank object on destroy, not null - fixes #1354
7 years ago
Rich Harris
df4e3678dc
update snapshot tests
7 years ago
Rich Harris
daa2635cd3
update snapshot tests
7 years ago
Rich Harris
c1573dbf2c
implement onstate and onupdate
7 years ago
Luke Edwards
a412f11907
update test samples’ expectants
7 years ago
Rich Harris
4e99eb8d37
use setAttribute with inputs, for benefit of IE - fixes #1209
7 years ago
ekhaled
2e9cd4742c
fix snapshots for the actual mounting code
7 years ago
ekhaled
270be984ac
fix bundle snapshots
7 years ago
ekhaled
2e3724f7d3
fix snapshots
7 years ago
Rich Harris
94c76308a1
update deps to get tests to pass again
7 years ago
Rich Harris
d162ce9968
Merge branch 'master' into gh-1122
7 years ago
Rich Harris
1b599bd57b
put _differs on prototype, remove runtime option
7 years ago
Rich Harris
c0292cbca1
update tests
7 years ago
Jacob Wright
405c4f6371
Adding compiler option for immutable back in
...
This will keep existing code smaller and _mostly_ only add size when using the `immutable` compiler option.
7 years ago
Jacob Wright
9e877d9da1
Makes immutable a component option rather than a compile option
...
This allows components to opt in (or out) of using immutable data checking for greater flexibility in app design. It also removes the compiler option.
7 years ago
Jacob Wright
9a1d87494d
Removes date checks and simplifies NaN checks, adds tests
7 years ago
Jacob Wright
d2f8e472a5
Add support to computed and store for immutable structures
...
Adds optional performance support for apps using an immutable data structure such as redux. Adds the `immutable` boolean option for compile and an `immutable` option to store as well. When these options are used, computed will not recompute if the object has not changed. If your data structure is not immutable you should not use this as svelte cannot know if a mutation was made on objects.
This PR also adds support for Dates and NaN values so computed properties will not recompute if a date has not changed or a value did not change from NaN.
This closes out these issues:
* https://github.com/sveltejs/svelte/issues/1146
* https://github.com/sveltejs/svelte/issues/1161
This is my first PR for Svelte. Any feedback would be appreciated!
7 years ago
Rich Harris
d411a82a32
update snapshot tests
7 years ago
Rich Harris
ca7e90083e
can just use options here
7 years ago
Emil Ajdyna
d398b34a41
Add state() method handling for components
7 years ago
Rich Harris
394dec9f11
Merge pull request #1024 from sveltejs/gh-1013
...
update SSR render method, and introduce <:Head>
7 years ago
Rich Harris
8a3898c6cb
fix unrelated bug that was causing tests to fail
7 years ago
Emil Ajdyna
fadeeaf177
Expose root as a public property
7 years ago
Rich Harris
75e911b05a
update snapshot tests
7 years ago
Rich Harris
775866780e
combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
7 years ago
Rich Harris
fb675fd5e3
update snapshot tests
7 years ago
Rich Harris
f659fd8391
remove unused _yield property
7 years ago
Conduitry
2800b5cacc
update tests
7 years ago
Rich Harris
d27e4734d5
Merge branch 'master' into short-method-names
7 years ago
Rich Harris
dabc2d1fdf
dont wrap ESM in IIFE
7 years ago