We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9712134 commit 9da074bCopy full SHA for 9da074b
frameworks/keyed/yew-baseline/src/lib.rs
@@ -313,5 +313,5 @@ impl Component for Row {
313
pub fn start() {
314
let document = window().unwrap().document().unwrap();
315
let mount_el = document.query_selector("#main").unwrap().unwrap();
316
- App::<Model>::new().mount(mount_el);
+ yew::start_app_in_element::<Model>(mount_el);
317
}
0 commit comments