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