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
@@ -149,7 +149,7 @@ impl WebsysDom {
|
||||
let server_data = HydrationContext::from_serialized(&data, debug_types, debug_locations);
|
||||
// If the server serialized an error into the suspense boundary, throw it on the client so that it bubbles up to the nearest error boundary
|
||||
if let Some(error) = server_data.error_entry().get().ok().flatten() {
|
||||
dom.in_runtime(|| id.throw_error(error));
|
||||
dom.in_runtime(|| dom.runtime().throw_error(id, error));
|
||||
}
|
||||
server_data.in_context(|| {
|
||||
// rerun the scope with the new data
|
||||
|
||||
Reference in new issue
Block a user