question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v. 2.16.2 (Chrome, MacOS) breaks the react / redux apps when extension is enabled

See original GitHub issue

Details: React/redux app: redux-devtools-extension: “^2.13.7” Redux DevTools: 2.16.2 (Chrome, MacOS)

composeWithDevTools breaks the app. If either a call of composeWithDevTools is removed from a project or Redux DevTools is disabled in Chrome, both of these seem to fix an issue.

the following error occurs if both - composeWithDevTools and Redux DevTools - are enabled:

redux.js?00d8:106 Uncaught Error: You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.
    at Object.getState (redux.js?00d8:106)
    at B (<anonymous>:1:28201)
    at <anonymous>:1:37657
    at Object.dispatch (redux.js?00d8:205)
    at dispatch (<anonymous>:1:40300)
    at Object.eval [as dispatch] (middleware.js?3dfa:66)
    at dispatch (<anonymous>:1:30679)
    at Object.getUserInfo (App.js?db58:23)
    at App.componentDidMount (App.js?db58:10)
    at commitLifeCycles (react-dom.development.js?61bb:15961)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
zalmoxisuscommented, Nov 28, 2018

Published 2.16.3 and it’s available now on Chrome Store. Please let me know if that works.

0reactions
Frisscommented, Nov 28, 2018

Looking good for me as well. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

redux-devtools-extension not working in chrome devtools
In "Manage Extensions", I made sure Redux DevTools was active and updated. I reloaded the page. Right click >> Redux DevTools >> Open...
Read more >
Set Chrome app and extension policies (Mac) - Google Support
Step 5: Deploy to users and validate policies. After you deploy any Chrome extension policy, check user devices to make sure the policy...
Read more >
Redux for Chrome Extensions - Thoughtbot
An intro to functional state management for your Chrome extensions using Redux.
Read more >
Release notes - OpenTok.js | Vonage Video API Developer
OpenTok.js version 2.16 was deprecated in May 2020 for the Standard ... As of Chrome 72 and Opera 59, an extension is no...
Read more >
ReactJS web app renders blank page on iPhone
Hi, I used npm create-react-app to make a web app with firebase backend accessing it through redux-firebase. The web app functions normally on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found