fn main() { // let mut s = Context { props: &() }; // let g = Component(&mut s); } // struct CompState { // tasks: Vec<()>, // } // enum Actions { // Add, // MoveUp, // MoveDown, // Remvoe, // } // static Component: FC<()> = |cx| { // let (tasks, dispatch) = use_reducer( // cx, // || CompState { tasks: Vec::new() }, // |state, action: Actions| match action { // Actions::Add => state, // Actions::MoveUp => state, // Actions::MoveDown => state, // Actions::Remvoe => state, // }, // ); // let tasklist = { (0..10).map(|f| html! {
}) }.collect::