Commit ad71199
fix: Stop re-loading already-loaded CSS during server-side route resolution (#15014)
* fix: Stop re-loading already-loaded CSS during server-side route resolution
* remove comments
* guarantee we only query the DOM once
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>1 parent f555ba6 commit ad71199
File tree
3 files changed
+22
-13
lines changed- .changeset
- packages/kit
- src/runtime/client
- test/apps/basics/test/cross-platform
3 files changed
+22
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
| 326 | + | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
344 | 350 | | |
345 | | - | |
346 | | - | |
| 351 | + | |
347 | 352 | | |
348 | | - | |
349 | | - | |
350 | | - | |
| 353 | + | |
| 354 | + | |
351 | 355 | | |
352 | 356 | | |
353 | 357 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
927 | 927 | | |
928 | 928 | | |
929 | 929 | | |
930 | | - | |
931 | | - | |
932 | | - | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
933 | 933 | | |
934 | 934 | | |
935 | 935 | | |
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
942 | 945 | | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | 946 | | |
947 | 947 | | |
948 | 948 | | |
| |||
0 commit comments