//! FRAME-12: **the module contract** — what every profile implements and
//! the host mounts: `mount(target, { props, bus }) → { update(props),
//! destroy() }`. In the page a module is an ES module (`esm/1` written by
//! hand, `svelte/1` from FRAME-13) the host imports from its version's
//! `components/<name>.js` and wraps ([`crate::entry`]'s `JsModule`); the
//! rhx runtime (`rhx/1`, the tree and the folds) is the host's own arm of
//! the same lifecycle in [`crate::swap`] — mounted, updated, swapped,
//! fallen back and destroyed by the same rules.
use crateMember;
use crateRenderer;
use ;
/// The profile of the tree-and-Rhai runtime; a manifest entry that names
/// no profile is one.
pub const RHX: &str = "rhx/1";
/// A component's code, ready to mount.
/// A mounted module.