sassansh / Places

A M.E.R.N. full-stack application to help trusted groups find the best places to visit
https://places-cpsc455.herokuapp.com/
MIT License
1 stars 3 forks source link

🐛 Fix Redux Dev Tools causing crashes on some browsers #140

Closed sassansh closed 3 years ago

sassansh commented 3 years ago

Was having redux dev tools cause crashes in some browsers and when using incognito mode in chrome. From this thread, I learned about a super useful package called redux-devtools-extension that handles and this and loads Redux dev tools properly across all browsers and disables it in production.

sassansh commented 3 years ago

Staging does not run in incognito, gives console error "Uncaught TypeError: Cannot read property 'apply' of undefined" and blank page

Staging hasn't deployed yet. Might be testing an older deployment. image

laurarodgers commented 3 years ago

Staging does not run in incognito, gives console error "Uncaught TypeError: Cannot read property 'apply' of undefined" and blank page

Staging hasn't deployed yet. Might be testing an older deployment. image

That's a relief! Wanted to flag this quickly to make sure it wasn't quick merged with a bug. Will check after staging deploys.

sassansh commented 3 years ago

Test now! deployed :) @laurarodgers @johnnybcs

sassansh commented 3 years ago

Working on mine! And the cool thing is while the app loads now, redux dev tools is not enabled when deployed, so you cant explore the state of the app using the extension :p