Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: align enhancer style with standards to wrap the middleware #284

Merged
merged 2 commits into from
Jan 13, 2021
Merged

fix: align enhancer style with standards to wrap the middleware #284

merged 2 commits into from
Jan 13, 2021

Conversation

sneljo1
Copy link

@sneljo1 sneljo1 commented Dec 8, 2020

As per my comments in #260. Unfortunately, I was unable to reproduce this using the tests, but in my setup using the redux-observable package I am having several issues. One of which is solved by aligning with the wrapping of middleware as used in the redux library itself. I think for some reason, in my case (some of) my middleware was overwritten by the middleware applied in the enhancer. Either way, my middleware was not properly executing, but after this fix, it is.

I did some extensive research but I was unable to find another library using a similar pattern of applying middleware in the enhancer instead of redux itself, so I do not know if this is 100% correct.

@matmalkowski matmalkowski merged commit 9778605 into klarna:alpha Jan 13, 2021
@matmalkowski
Copy link
Collaborator

🎉 This PR is included in version 2.0.0-alpha.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants