Type Definition EventHandler
live_view
type EventHandler<State> = fn(_: &Event, _: &mut State) -> Option<String>;