Skip to content

Conversation

hangzho
Copy link

@hangzho hangzho commented Aug 6, 2017

Recently, I was playing around with ng-redux, immutable and reselect.
Basically I duplicated the async example from the repository and refactored the code by using immutable and reselect libraries. I guess it might be helpful for someone else.

1. Duplicate the ‘async’ example and upgrade the html-webpack-plugin.
2. Refactor the code to use Immutablejs and reselect.
@@ -0,0 +1,23 @@
import { createStore, applyMiddleware } from 'redux';
Copy link

Choose a reason for hiding this comment

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

Is this file from another example? And I don't think it's actually used anywhere, right?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, the code is originally from https://github.com/angular-redux/ng-redux/tree/master/examples/async. I think you are right. The file isn't used in this example.

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.

3 participants