wip: add router

This commit is contained in:
Jonathan Kelley committed 2021-11-03 00:35:56 -04:00
1 parent 9874f342e2
commit d298b626d3
17 files changed
+617 -20

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ use crate::innerlude::{Context, Element, VNode};
/// ```rust
/// struct State {}
///
/// fn Example((cx, props): Component<State>) -> DomTree {
/// fn Example((cx, props): Scope<State>) -> DomTree {
/// // ...
/// }
/// ```
@@ -26,7 +26,7 @@ use crate::innerlude::{Context, Element, VNode};
/// name: &'a str
/// }
///
/// fn Example<'a>((cx, props): Component<'a, State>) -> DomTree<'a> {
/// fn Example<'a>((cx, props): Scope<'a, State>) -> DomTree<'a> {
/// // ...
/// }
/// ```