hackforla / 311-data

Empowering Neighborhood Associations to improve the analysis of their initiatives using 311 data
https://hackforla.github.io/311-data/
GNU General Public License v3.0
62 stars 63 forks source link

Frontend is not compatible with Redux Devtools #1255

Closed nichhk closed 1 year ago

nichhk commented 2 years ago

Overview

Redux Devtools makes debugging and viewing redux state much simpler. We should make our frontend compatible with this extension. See this post for instructions.

It looks like we've installed and activated Redux Devtools two years ago (PR #289), but the extension is greyed out when I'm on the dev site.

Action Items:

nichhk commented 2 years ago

Ah, so Redux Devtools only works locally because we're specifying development-only in the extension importing.

Currently, when we bring up the dev and v1 site, we are specifying that the mode is "production" (e.g., for dev, we run npm run build, and build uses the webpack.prod.js config). We should rename "webpack.dev.js" to "webpack.local.js", and create a new "webpack.dev.js" file that is the same as "webpack.prod.js", but it specifies mode as "development".

mc759 commented 1 year ago

Hey @edwinjue can you help us update this issue?

Please update:

Thanks!

edwinjue commented 1 year ago

Redux devtools should already be working on local development environment as I already have it installed