Skip to content

Conversation

evanhobbs
Copy link
Owner

The previous PR (#3) caused arguments to the action creator function to be stored in the requests reducer as meta.actionCreatorArgs. This can cause problems when the arguments are either not serializable or just undesirably large to store in redux state.

For example, this was an issue in server-side rendering use case where the Express request object needed to be an argument to the action.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d28e40e on meta/remove-action-creator-args into a5f7ca0 on master.

Copy link

@parshap parshap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a whole lot of context, but this makes sense and the code looks good!

@evanhobbs evanhobbs merged commit f5f2d4d into master Aug 3, 2018
@evanhobbs evanhobbs deleted the meta/remove-action-creator-args branch August 3, 2018 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants