Skip to content

PooledWindow

const PooledWindow: ForwardRefExoticComponent<PooledWindowProps & RefAttributes<WindowHandle>>

Defined in: renderer/PooledWindow.tsx:143

Declarative window component backed by a renderer-side pool.

On open=true: acquires a pre-warmed window from the pool (instant if idle windows exist), applies non-shape props, shows it, then portals children in.

On open=false: releases back to the pool — the window is hidden but the BrowserWindow stays alive for the next acquire.

The pool’s shape props (transparent, frame, titleBarStyle, vibrancy) are immutable and set at pool creation time. All other props can change per use.