[]previous and next page

Context follows the owner tree

Each owner carries a context map inherited from its parent.

For agentsUpdated

Each owner carries a context map inherited from its parent. A provider makes its value available to owners created below it, including detached roots. useContext reads that inherited map without walking the owner tree. See context.

Next: scheduler, reactivity model. API: createRoot, getOwner, runWithOwner, onCleanup, onError, catchError.