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

Example of using immutable.js and reselect #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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