Asynchronous rendering

Activity

React 19.2+ boundary for hiding UI while retaining state and cleaning up Effects.

Formal Syntax & Structure

react syntaxreact
<Activity mode={open ? "visible" : "hidden"}><Notes/></Activity>

Working Example

Example Snippetreact
<Activity mode={open ? "visible" : "hidden"}><Notes/></Activity>
React Reference