Flow Render provides a Promise-based approach to rendering UI. It lets you render components as if calling async functions, await their results, and resume the same async flow.

It consolidates interaction logic scattered across state, callbacks, and component hierarchies into linear async/await control flow. Business workflows and UI components each remain highly cohesive, while Promise results establish a clear boundary between them, reducing coupling and keeping complex interactions focused, readable, and maintainable.

const confirmed = await render(ConfirmDialog, {

title: 'Delete your workspace?'

})