pub fn run<Ms, Mdl>(
model: Mdl,
update: fn(_: Ms, _: Mdl) -> Mdl,
view: fn(_: Mdl) -> El<Ms>,
mount_point_id: &str,
routes: Option<Routes<Ms>>
)where
Ms: Clone + Sized + 'static,
Mdl: Clone + Sized + 'static,
Expand description
App initialization: Collect its fundamental components, setup, and perform an initial render.