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
@@ -272,7 +272,7 @@ fn resolved_to_suspended() {
|
||||
|
||||
assert_eq!(out, "rendered 1 times");
|
||||
|
||||
dom.in_runtime(|| ScopeId::APP.in_runtime(|| *SUSPENDED.write() = true));
|
||||
dom.in_scope(ScopeId::APP, || *SUSPENDED.write() = true);
|
||||
|
||||
dom.render_suspense_immediate().await;
|
||||
let out = dioxus_ssr::render(&dom);
|
||||
|
||||
Reference in new issue
Block a user