Fix the router and stub out a number of crates to get compiling

This commit is contained in:
Jonathan Kelley committed 2024-01-13 20:51:37 -08:00
1 parent 4c6e515da4
commit fae0b08e61
226 files changed
+1057 -1482

No files matched your search

@@ -166,10 +166,10 @@ impl State for Border {
}
fn main() -> Result<(), Box<dyn std::error::Error>> {
fn app(cx: Scope) -> Element {
let count = use_state(cx, || 0);
fn app() -> Element {
let count = use_state(|| 0);
use_future(cx, (count,), |(count,)| async move {
use_future((count,), |(count,)| async move {
loop {
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
count.set(*count + 1);
@@ -185,7 +185,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
})
}
fn Comp(cx: Scope) -> Element {
fn Comp() -> Element {
cx.render(rsx! {
div{
border: "",