lazy-overlays.ts
This file
Path
apps/web/src/features/shared/shell/lazy-overlays.ts
9 lines · 280 bytes · TypeScript
Last changed by
Merge redesign into mainoscabrielbefore adoptioncaedd21
History of this fileTake it
Put every page in the Control room shell: rail, bars, workspace, router links, keys, head, error and pending statesoscabrielbefore adoptionddbd51e
line 1why, one step back1/**Merge build/comments-web-features into mainoscabrielbefore adoption74bfc72
lines 2–3why, one step back2 * Fetched once the page is up: the Worker never renders one, and no page's3 * first load carries their dialog, sheet and combobox code.Put every page in the Control room shell: rail, bars, workspace, router links, keys, head, error and pending statesoscabrielbefore adoptionddbd51e
lines 4–9why, one step back4 */5import { lazy } from "react";67export const LazyOverlays = import.meta.env.SSR8 ? undefined9 : lazy(() => import("./overlays.tsx"));