redux-action-reducer
redux-action-reducer copied to clipboard
sending undefined as payload crashes reducer
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?
If the payload is undefined, it shouldn't crash for sure. I think console logging an error would be enough?