Skip to content
Myr

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 file

Take 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 back
1/**

Merge build/comments-web-features into mainoscabrielbefore adoption74bfc72

lines 2–3why, one step back
2 * Fetched once the page is up: the Worker never renders one, and no page's
3 * 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 back
4 */
5import { lazy } from "react";67export const LazyOverlays = import.meta.env.SSR8 ? undefined9 : lazy(() => import("./overlays.tsx"));