use std::rc::Rc; use yew::prelude::*; pub mod term_view; use crate::term_view::*; #[function_component(App)] fn app() -> Html { let frames_handle: UseStateHandle> = use_state(|| RegisteredTermFrames::new().into()); let frames = RegisteredTermFrameLens { get: (*frames_handle).clone(), set: Callback::from(move |s| frames_handle.set(s)), }; html! {
} } fn main() { yew::Renderer::::new().render(); }