wip: debugging
This commit is contained in:
1 parent
875977f5a6
commit
3edf3e367f
11 files changed
+367
-128
No files matched your search
@@ -17,6 +17,7 @@ pub struct RouterProps<'a> {
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
pub fn Router<'a>(cx: Scope<'a, RouterProps<'a>>) -> Element {
|
||||
log::debug!("running router {:?}", cx.scope_id());
|
||||
let svc = cx.use_hook(|_| {
|
||||
let update = cx.schedule_update_any();
|
||||
cx.provide_context(RouterService::new(update, cx.scope_id()))
|
||||
|
||||
Reference in new issue
Block a user