nextstrain / auspice

Web app for visualizing pathogen evolution
https://docs.nextstrain.org/projects/auspice/
GNU Affero General Public License v3.0
292 stars 162 forks source link

Unexpected redux state mutations #1742

Open jameshadfield opened 10 months ago

jameshadfield commented 10 months ago

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:

joverlee521 commented 1 month ago

I also ran into this error when loading a narrative with multiple datasets in dev mode. I'm currently working around it with

SKIP_REDUX_CHECKS=true npm run dev