tl;dr Run yarn add --dev eslint-plugin-import and add "import/named": 2 to your .eslintrc rules to prevent accidentally importing constants that don’t exist to your reducers.
yarn add --dev eslint-plugin-import
"import/named": 2
.eslintrc