Commit f752b1e
authored
chore: simplify SSR (#11977)
* chore: simplify SSR escaping
* treat solo expressions the same as sequence expressions
* reduce some indirection
* more
* tidy
* tidy
* remove unused types
* more
* this doesnt do anything
* more
* Anchor is unused
* simplify
* simplify
* move special case handling
* more
* simplify
* simplify
* simplify
* more
* unnecessary
* simplify
* remove unused arg
* more
* more
* unnecessary
* more
* more
* dedupe1 parent 2be6d43 commit f752b1e
File tree
6 files changed
+309
-549
lines changed- packages/svelte
- src/compiler/phases/3-transform
- client/visitors
- server
- tests/runtime-legacy/samples/escaped-expression
6 files changed
+309
-549
lines changedLines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 6 | | |
19 | 7 | | |
20 | 8 | | |
| |||
Lines changed: 15 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1435 | 1435 | | |
1436 | 1436 | | |
1437 | 1437 | | |
1438 | | - | |
| 1438 | + | |
1439 | 1439 | | |
1440 | | - | |
| 1440 | + | |
1441 | 1441 | | |
1442 | | - | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
1447 | 1445 | | |
1448 | 1446 | | |
1449 | | - | |
1450 | | - | |
1451 | | - | |
| 1447 | + | |
| 1448 | + | |
1452 | 1449 | | |
1453 | | - | |
1454 | | - | |
1455 | | - | |
1456 | | - | |
1457 | | - | |
1458 | | - | |
1459 | | - | |
1460 | | - | |
1461 | | - | |
1462 | | - | |
1463 | | - | |
1464 | | - | |
| 1450 | + | |
| 1451 | + | |
1465 | 1452 | | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
1466 | 1458 | | |
1467 | 1459 | | |
1468 | | - | |
| 1460 | + | |
1469 | 1461 | | |
1470 | 1462 | | |
1471 | 1463 | | |
| |||
0 commit comments