redux-action-reducer icon indicating copy to clipboard operation
redux-action-reducer copied to clipboard

sending undefined as payload crashes reducer

Open stukennedy opened this issue 7 years ago • 1 comments

thinking that we should maybe return previous value or default if the payload is undefined seeings as it throws an error in Redux. What are your thoughts?

stukennedy avatar Aug 23 '18 16:08 stukennedy

If the payload is undefined, it shouldn't crash for sure. I think console logging an error would be enough?

troch avatar Sep 03 '18 19:09 troch