move ScopeId methods to the runtime (#4723)
* move `ScopeId` methods to runtime methods * cargo check unused * wip... * wip... * fix consume context * fix test * guard hoisted * fix doc comment
This commit is contained in:
1 parent
c56bac04f4
commit
c29cef4ea3
40 files changed
+466
-697
No files matched your search
@@ -56,8 +56,7 @@ impl<T> Memo<T> {
|
||||
let _ = tx.unbounded_send(());
|
||||
}
|
||||
};
|
||||
let rc =
|
||||
ReactiveContext::new_with_callback(callback, current_scope_id().unwrap(), location);
|
||||
let rc = ReactiveContext::new_with_callback(callback, current_scope_id(), location);
|
||||
|
||||
// Create a new signal in that context, wiring up its dependencies and subscribers
|
||||
let mut recompute = move || rc.reset_and_run_in(&mut f);
|
||||
|
||||
Reference in new issue
Block a user