remove wasm-bindgen cache (we use sledgehammer)

This commit is contained in:
Evan Almloff committed 2024-01-06 16:56:07 -06:00
1 parent 65c0d213e3
commit 44ccdba0fe
4 files changed
+2 -321

No files matched your search

+1 -9
View File
@@ -66,7 +66,6 @@ use futures_util::{
pin_mut, FutureExt, StreamExt,
};
mod cache;
mod cfg;
mod dom;
#[cfg(feature = "eval")]
@@ -107,7 +106,7 @@ mod rehydrate;
/// }
/// ```
pub fn launch(root_component: fn(()) -> Element) {
launch_with_props( root_component, (), Config::default());
launch_with_props(root_component, (), Config::default());
}
/// Launch your app and run the event loop, with configuration.
@@ -202,13 +201,6 @@ pub async fn run_with_props<T: Clone + 'static>(
#[cfg(all(feature = "hot_reload", debug_assertions))]
let mut hotreload_rx = hot_reload::init();
for s in crate::cache::BUILTIN_INTERNED_STRINGS {
wasm_bindgen::intern(s);
}
for s in &cfg.cached_strings {
wasm_bindgen::intern(s);
}
let (tx, mut rx) = futures_channel::mpsc::unbounded();
#[cfg(feature = "hydrate")]