-
Notifications
You must be signed in to change notification settings - Fork 215
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
Move state management to Redux/Mobx #184
Comments
@igorbarinov @vbaranov https://egghead.io/courses/manage-complex-state-in-react-apps-with-mobx - great quick intro to mobx |
@rstormsf upon further review, mobx is a great approach to state management here. My only concern is decoupling the actions from the underlying data in a store. Do you have any insight here? |
@15chrjef current state structure is here |
|
My suggestions:
Only
It is the In this case the total change, that you suggest is to
Right @15chrjef ? |
Those are the changes yes, but what does 'it' refer to in 'It is the tier[0] properties too. It should be moved there.'? Should the whitelist, whitelistelement, _owner, _store, and whiteListInput all be moved to tier? |
@vbaranov updated json above. |
Yes, Jeff. They should be moved to the first element of tiers array (except _owner, _store): each tier has own whitelist, whitelistelement, and whiteListInput. |
alright, updated JSON above, let me know if there are any other changes to be made otherwise, I'll start working on state management. |
Implemented here #363 |
Roman suggested to look into https://github.com/mobxjs/mobx instead of Redux
The text was updated successfully, but these errors were encountered: