feat: transition to cx, props
This commit is contained in:
1 parent
f1cff845ce
commit
bfdcb20437
14 files changed
+88
-50
No files matched your search
@@ -275,10 +275,7 @@ impl Scope {
|
||||
let sus: &'a VSuspended<'a> = unsafe { std::mem::transmute(sus) };
|
||||
|
||||
let cx: SuspendedContext<'a> = SuspendedContext {
|
||||
inner: Context {
|
||||
props: &(),
|
||||
scope: self,
|
||||
},
|
||||
inner: Context { scope: self },
|
||||
};
|
||||
|
||||
let mut cb = sus.callback.borrow_mut().take().unwrap();
|
||||
|
||||
Reference in new issue
Block a user