From 456382d4f9039d48ff19877d23a010f25c43e3e8 Mon Sep 17 00:00:00 2001 From: K-Laron Date: Sat, 17 Oct 2026 23:33:44 +0800 Subject: [PATCH] perf(web): prune duplicate shell chrome update during page rendering Inspired by pingdotgg/t3code#20860, pingdotgg/t3code#18416. renderPage previously invoked updateShellChrome twice: once before loading the async page module chunk and once immediately after. The second call was completely redundant since store stats and route path are unchanged. --- src/main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.js b/src/main.js index e600b21..2c7716b 100644 --- a/src/main.js +++ b/src/main.js @@ -263,7 +263,6 @@ async function renderPage(path) { if (token !== renderToken || normalizedPath !== getActivePath()) return; - updateShellChrome(normalizedPath); if (currentRenderedPath === normalizedPath && currentPageModule === pageModule && typeof pageModule.update === 'function') { pageModule.update(pageContentEl); return;