add use_eval()to desktop and web

This commit is contained in:
Ilya Maximov committed 2022-03-17 23:47:11 +01:00
1 parent 08fa2382b0
commit 5cbf2698fd
5 files changed
+48 -2

No files matched your search

+6
View File
@@ -44,3 +44,9 @@ pub mod prelude {
#[cfg(feature = "fermi")]
pub use fermi::{use_atom_ref, use_init_atom_root, use_read, use_set, Atom, AtomRef};
}
#[cfg(all(target = "wasm", feature = "web"))]
pub use dioxus_web::use_eval;
#[cfg(all(not(target = "wasm"), feature = "desktop"))]
pub use dioxus_desktop::use_eval;