Fix hydration race condition (#3240)

* Fix mount_to_root

* Remove WebsysDom.mount
This commit is contained in:
Ryo Hirayama authored and GitHub committed 2024-11-26 18:43:02 +01:00
1 parent 3af7d34ef3
commit e1457744f0
3 files changed
-10

No files matched your search

-4
View File
@@ -134,10 +134,6 @@ impl WebsysDom {
suspense_hydration_ids: Default::default(),
}
}
pub fn mount(&mut self) {
self.interpreter.mount_to_root();
}
}
fn walk_event_for_id(event: &web_sys::Event) -> Option<(ElementId, web_sys::Element)> {