contentacms / contenta_react

Demo application written in React
http://react.contentacms.io/
38 stars 18 forks source link

Add redux-devtools-extension to avoid errors in browsers without redux-devtools extension #3

Closed frega closed 7 years ago

frega commented 7 years ago

If the client does not have the redux-devtools extension install, they'll probably encounter a "TypeError: Cannot read property 'apply' of undefined" as the window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() in src/index.js evaluates to false and is passed into the compose function.

spleshka commented 7 years ago

Confirm that it works for me and solved my issue when I got the app installed. Thank you @frega.

justafish commented 7 years ago

Thanks! 👍