1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
extern crate rand; mod bin; mod component; mod dom; mod html; pub mod native; mod renderer; #[allow(unused_imports)] use rand::prelude::*; pub use component::Component; pub use html::Attributes; pub use html::Events; pub use html::Html; pub fn run<M, S, B>(component: Component<M, S, B>, id: &str) where M: 'static, S: 'static, B: 'static, { bin::run(component, id); }