use yew::prelude::*; pub struct App; impl Component for App { type Message = (); type Properties = (); fn create(_props: Self::Properties, _complink: ComponentLink) -> Self { App } fn update(&mut self, _msg: Self::Message) -> ShouldRender { false } fn change(&mut self, _props: Self::Properties) -> ShouldRender { false } fn view(&self) -> Html { html! { <>

{ "Hello world!" }

} } }