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

experimental store reorg #60

Merged
merged 6 commits into from Jan 12, 2017
Merged

experimental store reorg #60

merged 6 commits into from Jan 12, 2017

Conversation

grantfowler
Copy link
Member

reorganize all product actions and reducers. single reducer with global map and individual lists. build off of Erik's "fetchIfNeeded" stuff for lists. some interesting things with the maps as well as with the components (they never update the store directly, only their internal state. ex no more "setupNewItem"). also added the API utility that we need for server rendering.

no changes to any code other than the "/products" modules.

http://redux.js.org/docs/advanced/AsyncActions.html
reduxjs/redux#994

@ffugly
Copy link
Member

ffugly commented Nov 21, 2016

For the record, I like this and think we should move it over permanently

@ffugly ffugly merged commit 94d69f4 into master Jan 12, 2017
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.

None yet

2 participants