fn main() {} // struct CompState { // tasks: Vec<()>, // } // enum Actions { // Add, // MoveUp, // MoveDown, // Remvoe, // } // static Component: FC<()> = |cx, props|{ // 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::