Render V2: Two-Tab Live Stage

The decoupled "Foundry & Canvas" architecture: separating the heavy Monaco IDE studio from the lightweight presentation canvas via BroadcastChannel.

The Story: The Foundry & The Canvas

Traditional web playgrounds suffer from style leakage and DOM conflicts: the code editor's styles interfere with the preview element styles, and heavy IDE bundles slow down DOM reactivity.

Render V2 completely decouples them into two separate browser tabs:

Tab 1: The Foundry (Supplier)

Houses the 3-column Monaco workspace. Transform your data, inspect the JSON AST, and click [Render in Tab 2] to beam the spec across the browser's BroadcastChannel.

Tab 2: The Canvas (Consumer)

A pure, clean room with zero Monaco bloat. Listens silently, parses the incoming spec, and compiles live HTML directly into <body id="app"> using jsonToDom.

Subfolders & Endpoints

2 decoupled folders
Tab 1 • Supplier The Studio
/tab1/
3-Column Monaco IDE

Source columns editor, live spec-repo template selector, output JSON editor, [Transform] hook, and the [Render in Tab 2] broadcast action button with live handshake badge.

Open Tab 1 Studio
Tab 2 • Consumer The Stage
/tab2/
Pure Live HTML Canvas

Isolated DOM canvas loaded with Bootstrap 5 and Tailwind. Listens silently for incoming specs, mounts live elements, and emits a RENDER_ACK handshake back to Tab 1.

Open Tab 2 Canvas

Return to Monaco Workspaces Hub

Explore the full catalog of interactive 1D collection transformation workspaces.