I tried to use a useReducer with a select tag as per the code shown in this playground snippet.
I cannot seem to understand the error that the onChange event handler gives me. Any clues?
The error message looks something like:
The function applied to this argument has type (...) => ReactDOM.Props.domProps This argument cannot be applied with label ~onchange