Create a React root for rendering
DOM element to render into
React root instance
Get the number of active React roots
Number of active roots
Get the current React context synchronously
React context or null if not loaded
Get the current React context if loaded. Awaits the bootstrap (with retries) rather than calling adapter.initialize() independently.
React context with React, ReactDOM, Babel, and libraries
Check if React is currently ready
true if React is ready
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Transpile JSX code to JavaScript
JSX code to transpile
Optional filename for error messages
Transpiled JavaScript code
Unmount and clean up a React root
React root to unmount
Wait for React to be ready, with special handling for first component. If bootstrap succeeded but createRoot isn't usable (stale browser cache), forces a re-bootstrap and retries.
Service to manage React and ReactDOM instances with proper lifecycle. Provides methods for creating and managing React roots in Angular applications.