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

STATE-TREE not updated by "module" mutation #43

Open
cernymilan opened this issue Jan 10, 2018 · 1 comment
Open

STATE-TREE not updated by "module" mutation #43

cernymilan opened this issue Jan 10, 2018 · 1 comment

Comments

@cernymilan
Copy link

When I use cerebral version 4 module provider api to update state
eg.: module.merge('dimensions', dimensions)
where module has path 'app'.
In Cerbral Debugger: MUTATIONS tab shows the mutation but STATE-TREE tab has no data at path app.dimension:
app: { dimensions: { } }
But when I use state provider:
state.merge('app.dimensions', dimensions)
everything works -> STATE_TREE shows changed data right.

@christianalfoni
Copy link
Member

@JeronimoBlack Hi man, so sorry for late response here.

Have you tried migrating to version 5? Really want to focus on making version 5 solid as that is the final API of Cerebral :)

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

No branches or pull requests

2 participants