Fix memorization for the fragment component (#2360)
This commit is contained in:
1 parent
47c87568e1
commit
fc2b441ee1
2 files changed
+10
-4
No files matched your search
@@ -344,7 +344,8 @@ impl Properties for ErrorBoundaryProps {
|
||||
fn builder() -> Self::Builder {
|
||||
ErrorBoundaryProps::builder()
|
||||
}
|
||||
fn memoize(&mut self, _: &Self) -> bool {
|
||||
fn memoize(&mut self, other: &Self) -> bool {
|
||||
*self = other.clone();
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user