Certain actions will trigger a Error: Invariant failed: A state mutation was detected between dispatches error. These errors only appear in development mode.
Behaviour observed on 19f5c2cafbb2d0276ad9d26511d146f5befb7183 (part of the master branch).
I can somewhat reliably generate this via:
Adding a number of filters. Example error details: in the path 'controls.filters.country.0'.
Loading a narrative which defines multiple datasets. Example error details: in the path: jsonCache.jsons.zika-inline., 'jsonCache.jsons.zika.pathname'. (My guess would be this is the promises resolving; haven't investigated.) This causes the app to crash (only when in dev mode).
Current Behavior
Certain actions will trigger a
Error: Invariant failed: A state mutation was detected between dispatches
error. These errors only appear in development mode.Behaviour observed on 19f5c2cafbb2d0276ad9d26511d146f5befb7183 (part of the master branch).
I can somewhat reliably generate this via:
in the path 'controls.filters.country.0'.
in the path: jsonCache.jsons.zika-inline.
,'jsonCache.jsons.zika.pathname'
. (My guess would be this is the promises resolving; haven't investigated.) This causes the app to crash (only when in dev mode).