change dioxus signal to generational box

This commit is contained in:
Evan Almloff committed 2023-08-07 14:34:16 -07:00
1 parent 190c65b15d
commit 84734c4146
5 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ use dioxus_core::prelude::{
};
use dioxus_core::ScopeId;
use dioxus_copy::{CopyHandle, Owner, Store};
use generational_box::{GenerationalBox, Owner, Store};
fn current_store() -> Store {
match consume_context() {
@@ -41,7 +41,7 @@ fn owner_in_scope(scope: ScopeId) -> Rc<Owner> {
}
pub struct CopyValue<T: 'static> {
pub(crate) value: CopyHandle<T>,
pub(crate) value: GenerationalBox<T>,
origin_scope: ScopeId,
}