fix: Stop re-loading already-loaded CSS during server-side route resolution (#15014)
authorElliott Johnson <elliott.johnson@vercel.com>
Tue, 2 Dec 2025 20:57:46 +0000 (13:57 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Dec 2025 20:57:46 +0000 (15:57 -0500)
commitad7119918d7f2c33448559e5e2804c6ad019a751
tree6ef34cbe8dbd3bc0db7fa19ea051d6505b1af9b7
parentf555ba6571a97feac3fefd563baad50fd7686437
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>
.changeset/eager-rats-turn.md [new file with mode: 0644]
packages/kit/src/runtime/client/utils.js
packages/kit/test/apps/basics/test/cross-platform/client.test.js