@ -10,7 +10,7 @@ crate-type = ["cdylib"]
[dependencies]
seed = "^0.4.2"
seed = "^0.4.3"
wasm-bindgen = "^0.2.50"
# For serialization, eg sending requests to a server. Otherwise, not required.
@ -43,6 +43,6 @@ fn view(model: &Model) -> impl View<Msg> {
#[wasm_bindgen(start)]
pub fn render() {
seed::App::build(|_, _| Init::new(Model::default()), update, view)
App::builder(update, view)
.build_and_start();
}