createWindowPool
createWindowPool(
shape,config?,options?):WindowPoolDefinition
Defined in: renderer/PooledWindow.tsx:80
Create a pool definition. The shape props (transparent, frame, etc.) are fixed for all windows in this pool — consumers cannot override them per-use.
Call this once at module level and reuse across renders.
Parameters
Section titled “Parameters”Immutable creation-only props shared by all pool windows
config?
Section titled “config?”Pool sizing and eviction config
options?
Section titled “options?”Additional options
injectStyles?
Section titled “injectStyles?”How to inject styles into pool windows.
- “auto”: Copy
- false: No injection (for CSS-in-JS frameworks)
- function: Custom injection