Commit Graph

38 Commits (fd9d61a7b747c05958002b7dcb64cb3199378ad8)

Author SHA1 Message Date
S. Elliott Johnson fd9d61a7b7
chore: TS to JSDoc Conversion (#8569)
3 years ago
Yuichiro Yamashita b6a400a549
chore: add prettier (#8543)
3 years ago
Tan Li Hau df2f656557
feat: improve hydration, claim static html elements using innerHTML instead of deopt to claiming every nodes (#7426)
3 years ago
Hofer Ivan 739bfaec12
[chore] add missing types to `compiler/compile/render_dom` functions and variables (#7777)
3 years ago
Tan Li Hau a2de3894c0
[feat] support const tag for if block (#7451)
4 years ago
Simon H be3d82733f
[fix] prevent maximum call stack size exceeded error on large pages (#7203)
4 years ago
Tan Li Hau 2f0f330b76
[fix] {:else if} value incorrectly cached (#7043)
4 years ago
Bjorn Lu 79df74b087
[fix] run else-if reactive function on re-renders (#6727)
4 years ago
Tan Li Hau a6055b34d9
fix slot props not updated when transition aborted (#6414)
4 years ago
Tan Li Hau 9cc21e3c09
fix removing elements that are currently transitioning out (#5849)
5 years ago
Tan Li Hau 148b6105ed
fix else block transition update (#5591)
5 years ago
Ben McCann 229a16d6e7
upgrade ESLint config (#5472)
5 years ago
Antony Jones 82dc26a31c
Fix lint warnings (#5263)
5 years ago
Daniel Imfeld 81ade59797
fix check for uninitialized `condition` (#4841)
6 years ago
Conduitry f111cf6881
deconflict `anchor` variable name (#4769)
6 years ago
pushkin 3ed11fa29d
add if_block existence check in block.p (#4633)
6 years ago
pushkin 8d8db4e836
ensure if_block dependency is dirty to cancel outro (#4634)
6 years ago
Tan Li Hau 345d5f27ee fix lazy code breaks in build
6 years ago
Conduitry a8291227ce
fit bitmask overflow initial dirty value in 'if' blocks (#4507)
6 years ago
das 2b0762f930 Tidy up (#4005)
6 years ago
Rich Harris cd21acfb3c
Bitmask-based change tracking (#3945)
6 years ago
Tan Li Hau 2b2f40d32a use textContent instead of innerHtml, preventing XSS
6 years ago
Conduitry 3e02b95488
fix compound ifs with outros and no dependencies (#3595)
6 years ago
Rich Harris b9f14846b0
Structured code generation (#3539)
6 years ago
Richard Harris a821aa7a15 merge sveltejs/master -> devtools
6 years ago
Richard Harris 1ef95759cd fix
6 years ago
Rich Harris f6eba05f73 extend fix to blocks with outros
6 years ago
Richard Harris 9c9f37c001 fix code generation for if-else with static conditions - fixes #3505
6 years ago
Richard Harris c5e117a640 make things marginally more self-explanatory
6 years ago
Rich Harris 6665a52bad update simple if-blocks with complex but static conditions
6 years ago
Rich Harris 334323fb8b dont generate code for non-updating if block - fixes #3447
6 years ago
Almaz 04d762d2f9 Fixed complex {#if} behaviour
6 years ago
Richard Harris fa440fd4b5 only reevaluate if block conditions if dependencies changed
6 years ago
Rich Harris 16ccb62f6c more conservative if block updates
6 years ago
Richard Harris f4ca063c85 prevent dynamic components being detached twice - fixes #3113
6 years ago
Timothy Johnson 0e1cb29c1e Events for Blocks and Components
6 years ago
Rich Harris 324be53a70 merge master -> snake_case
6 years ago
Rich Harris 80ebdc1784 rename kebab-case files - supercedes #2890
6 years ago