reinspect icon indicating copy to clipboard operation
reinspect copied to clipboard

dispatching reducer actions from devtools not working

Open marko-knoebl opened this issue 4 years ago • 0 comments

I was trying to use the "dispatcher" functionality in the devtools work with reinspect and ran into problems.

If I try to dispatch an action that does not have a payload, I'll get the error:

"Cannot read property 'type' of undefined"

(apparently it's trying to read action.payload.type

If I dispatch an action with a payload, there's no error, but it will be ignored.

I think this should be documented or fixed

marko-knoebl avatar Feb 03 '21 13:02 marko-knoebl