Update Hydration and HMR logic

This commit is contained in:
2026-03-23 06:13:25 +01:00
parent 1634eeb213
commit 0308ea32ec
21 changed files with 490 additions and 96 deletions
@@ -62,7 +62,7 @@ export default async function grabPageComponent({
throw new Error(errMsg);
}
const bundledMap = global.BUNDLER_CTX_MAP[file_path];
const bundledMap = global.BUNDLER_CTX_MAP?.[file_path];
if (!bundledMap?.path) {
const errMsg = `No Bundled File Path for this request path!`;