You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mounts an HTML element (component) onto the Stage for rendering and observation. If a component is already mounted, it will be unmounted first. The `id` is optional and defaults to 'component'. This method handles the rendering based on the configured `isolation` mode (iframe, shadow-dom, or none).
Unmounts the currently active component from the Stage and clears its container. This method ensures that the DOM is cleaned up and resources are released.
856
866
857
-
awaitstage.stop();
867
+
```typescript
868
+
awaitstage.unmount();
869
+
console.log('Component unmounted. Has mounted component:', stage.hasMountedComponent());
0 commit comments