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

Allow mapDispatchToTarget to be an ES6 module #217

Merged
merged 1 commit into from
May 13, 2019

Conversation

joelmertanen
Copy link
Contributor

@joelmertanen joelmertanen commented May 7, 2019

Allow connect to consume an ES6 module as the second parameter.

Motivation:
ES6 modules are more and more common in web development, and, from what I know, there are no reasons to not allow using them here. This patch is required for one of our internal projects to enable us to use the newest Webpack, so I hope that it will be found useful.

Questions:
Is the test enough to emulate the behaviour of an ES6 module in the NodeJS environment?

@joelmertanen joelmertanen changed the title fix(lib): allow mapDispatchToTarget to be an ES6 module Allow mapDispatchToTarget to be an ES6 module May 7, 2019
@joelmertanen joelmertanen force-pushed the allow-es6-objects branch 2 times, most recently from 7561577 to 50125e2 Compare May 7, 2019 13:40
@villesau
Copy link
Collaborator

This is pretty cool, with this branch we were able to upgrade to webpack 4. I hope to get this merged so that we get rid of the fork.

@AntJanus
Copy link
Collaborator

@villesau would you like to become a contributor/have access to the repo? Your branch from a few days ago was a big deal and if you understand what's going on here, I'd be happy to give you the ability to merge stuff in.

@AntJanus AntJanus merged commit d11849e into angular-redux:master May 13, 2019
@villesau
Copy link
Collaborator

@AntJanus sure, why not! I think I have fairly good understanding on what's going on in the repository since we've been going back and forth with a fork quite a long time now. This looks like easy going repository so I don't think it will take that much of my time.

Thanks!

@villesau villesau mentioned this pull request Jun 3, 2019
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