wip: fragment diffing working

This commit is contained in:
Jonathan Kelley committed 2022-11-23 23:15:01 -08:00
1 parent 0266dfdc05
commit 4dd9a616a5
13 files changed
+489 -258

No files matched your search

+3 -3
View File
@@ -37,8 +37,8 @@ pub struct SuspenseBoundary {
}
impl SuspenseBoundary {
pub fn new(id: ScopeId) -> Rc<Self> {
Rc::new(Self {
pub fn new(id: ScopeId) -> Self {
Self {
id,
waiting_on: Default::default(),
mutations: RefCell::new(Mutations::new()),
@@ -46,7 +46,7 @@ impl SuspenseBoundary {
created_on_stack: Cell::new(0),
onresolve: None,
onstart: None,
})
}
}
}