feat: add better use_state for fermi
This commit is contained in:
1 parent
dfc69c0905
commit
4518b6bc8c
3 files changed
+424
-2
No files matched your search
@@ -39,8 +39,6 @@ impl AtomRoot {
|
||||
}
|
||||
|
||||
pub fn register<V: 'static>(&self, f: impl Readable<V>, scope: ScopeId) -> Rc<V> {
|
||||
log::trace!("registering atom {:?}", f.unique_id());
|
||||
|
||||
let mut atoms = self.atoms.borrow_mut();
|
||||
|
||||
// initialize the value if it's not already initialized
|
||||
|
||||
Reference in new issue
Block a user