Run the code above. It has a button with handlers for click and mouse move, each triggering a dispatch. Switch to Responsive mode via dev tools, so you can use Touch event. Press the button. You will ...
TL;DR: After the first render, useReducer doesn't react to changes in the initialArg (second positional) argument. In my opinion, it should update the state accordingly. The actual behaviour in ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results