You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An action MUST NOT include properties other than type, payload, and error, and meta.
redux-form's actions don't conform to this standard -- many of them have several additional properties, but no payload.
This caused me some confusion when I was trying to have one of my other reducers respond to a redux-form action, but I was getting an undefined parameter in my handler -- my createReducer function was only passing action.payload to the handler method, because I was expecting every action to follow FSA, as all of my app's internal actions do.
The text was updated successfully, but these errors were encountered:
A Flux Standard Action (FSA):
redux-form
's actions don't conform to this standard -- many of them have several additional properties, but nopayload
.This caused me some confusion when I was trying to have one of my other reducers respond to a
redux-form
action, but I was getting anundefined
parameter in my handler -- mycreateReducer
function was only passingaction.payload
to the handler method, because I was expecting every action to follow FSA, as all of my app's internal actions do.The text was updated successfully, but these errors were encountered: