Tan Li Hau
ec0f79c5af
add updating guard to binding callback ( #5126 )
5 years ago
Tan Li Hau
a8b306f0a1
revert remove contextual overflow ( #4102 )
5 years ago
Tan Li Hau
f9a9484e39
fix dirtybit ( #4095 )
5 years ago
Rich Harris
cd21acfb3c
Bitmask-based change tracking ( #3945 )
...
* start updating tests
* start implementing bitmask-based change tracking (#1943 )
* oops
* fix some await block stuff
* slots
* reactive declarations
* component bindings etc
* start fixing slots
* fix store value invalidations
* slot stuff
* fixes
* fix
* fixes
* fix some slot stuff
* fix some invalidations
* fix if blocks
* fix a test
* destructuring in lets
* fix shadowing
* fix if block case
* all runtime tests passinfg
* almost all tests passing
* update tests
* never hoist writable vars in dev mode, fix debug statements
* beef up shadowing test
* always use renderer.reference
* fix sourcemaps
* ugh so close
* all tests passing. phase one complete, i guess
* add test for component with more than 31 dynamic values
* stable sort
* stable sort that preserves order
* linting
* failing test for bitmask overflow
* ok i think this is it
* lint
* rename changed to dirty, for more internal consistency
* update tests
* use bitwise comparison
* add comments... sort of
* update tests
* moar comments
* I don't know what happened to these tests
5 years ago
Richard Harris
d8b25afacd
update tests
5 years ago
Richard Harris
47a9811c1e
alternative fix for #3508
5 years ago
Tan Li Hau
fca35def53
deconflict with builtins ( #3724 )
5 years ago
Rich Harris
b9f14846b0
Structured code generation ( #3539 )
5 years ago
Arpad Borsos
f41bbad6d9
prefer let bindings
5 years ago
Richard Harris
655701ef08
coerce tag values to string - fixes #2290
6 years ago
Rich Harris
a07eac432a
update API reference docs ( #2206 )
6 years ago
Richard Harris
6a7721b05f
replace comment anchors with empty text nodes - fixes #2280
6 years ago
Rich Harris
21d56c9ee3
Tidy up ( #2252 )
6 years ago
Richard Harris
83a9b6af23
default to accessors: false ( #2144 )
6 years ago
Richard Harris
b162de80ce
update JS tests
6 years ago
Richard Harris
ca0e5df0d8
update parser and js tests
6 years ago
Rich Harris
687e352209
rename .html files to .svelte
6 years ago
Rich Harris
c2e6d1bf0d
Better composition — implements https://github.com/sveltejs/rfcs/pull/12
6 years ago
Rich Harris
0ea3840046
Overhaul transitions - fixes #1906
6 years ago
Richard Harris
423e4e6cbc
deconflict with implicit props - fixes #1957
6 years ago
Richard Harris
1d9ce0fff5
update tests
6 years ago
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
681de7d220
merge master -> gh-1187-b
6 years ago
Rich Harris
4a88c9ccb5
remove -bundle files
6 years ago
Rich Harris
e0fe31327a
move render logic into separate phase ( #1678 )
6 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
Rich Harris
9964a77565
stringify values before setting text data - fixes #1598
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
d85b60a09c
use Object.create for each block child contexts
7 years ago
Rich Harris
103f278cfc
update tests
7 years ago
Rich Harris
a29e2733cd
update tests
7 years ago
Rich Harris
506ab3952e
destructuring
7 years ago
Rich Harris
f5048fcf10
deduplicate each block context generation for keyed blocks
7 years ago
Rich Harris
7fe3e4a85d
failing test for #1187
7 years ago
Rich Harris
f0bf1ef8d5
recalculate each block values lazily - fixes #1286
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
ab79cc6608
remove v1 snapshot tests
7 years ago