Explorar o código

Merge pull request #378 from koptan/ko/fix-write-silent

fix: unmarking component as dirty in silent write
Jon Kelley %!s(int64=3) %!d(string=hai) anos
pai
achega
87c04e33a8
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      packages/fermi/src/hooks/atom_ref.rs

+ 0 - 1
packages/fermi/src/hooks/atom_ref.rs

@@ -76,7 +76,6 @@ impl<T: 'static> UseAtomRef<T> {
     }
 
     pub fn write_silent(&self) -> RefMut<T> {
-        self.root.force_update(self.ptr);
         self.value.borrow_mut()
     }