use wasm_bindgen::prelude::*; use yew::prelude::*; pub mod grpc; struct App; impl Component for App { type Message = (); type Properties = (); fn create(_: Self::Properties, _link: ComponentLink) -> Self { Self } fn update(&mut self, _: Self::Message) -> ShouldRender { false } fn change(&mut self, _: Self::Properties) -> ShouldRender { false } fn view(&self) -> Html { html! {
{"Hello World"}
} } } #[wasm_bindgen(start)] pub fn run_app() { yew::start_app::(); }