cerebral-debugger icon indicating copy to clipboard operation
cerebral-debugger copied to clipboard

STATE-TREE not updated by "module" mutation

Open cernymilan opened this issue 7 years ago • 1 comments

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.

cernymilan avatar Jan 10 '18 10:01 cernymilan

@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 :)

christianalfoni avatar Oct 06 '19 08:10 christianalfoni