logoalt Hacker News

slopinthebag • today at 6:51 AM • 0 replies • view on HN

i prefer it, but you can also get html if you want

eg

   html! {
       <div onclick=|_ev: web_sys::MouseEvent| {}>
          You can type text right into the elements
          { component }
          { text_var }
       </div>
    };