Problem
App::mount mounts a Rabbita application, but Rabbita 0.13.1 does not provide a public API for unmounting it.
Without an unmount API, hosts cannot safely stop a mounted application. Its subscriptions and callbacks may remain active, continue updating the DOM, and prevent the container from being safely reused.
Proposal
App::mount should return a MountedApp value representing that particular mounted application. Calling MountedApp::unmount should tear down only that mount, without exposing Rabbita's internal DOM, subscription, or runtime state.
Proposal example
// return a `MountedApp` value
let mounted_app = app.mount(root)
// can be unmounted later
mounted_app.unmount()
Problem
App::mountmounts a Rabbita application, but Rabbita 0.13.1 does not provide a public API for unmounting it.Without an unmount API, hosts cannot safely stop a mounted application. Its subscriptions and callbacks may remain active, continue updating the DOM, and prevent the container from being safely reused.
Proposal
App::mountshould return aMountedAppvalue representing that particular mounted application. CallingMountedApp::unmountshould tear down only that mount, without exposing Rabbita's internal DOM, subscription, or runtime state.Proposal example