{ "Create Yew App" } { ", Set up a modern yew web app by running one command." }
{ if state.loading { html! { "Loading, wait a sec..." } } else { html! {} } }
{ if let Some(repo) = &state.data { html! { <>{ "Repo name: " }{ &repo.name }
{ "Repo full name: " }{ &repo.full_name }
{ "Repo description: " }{ &repo.description }
> } } else { html! {} } }{ if let Some(error) = &state.error { match error { Error::DeserializeError => html! { "DeserializeError" }, Error::RequestError => html! { "RequestError" }, } } else { html! {} } }
{ "Edit " } { "src/app/about.rs" } { " and save to reload." }
{ *counter }
{ "Edit " } { "src/app/home.rs" } { " and save to reload." }