code4sac / openbudgetsac.org

Code for Sacramento's Open Budget Project (landing page + D3.js files)
http://openbudgetsac.org
MIT License
17 stars 25 forks source link

Rewrite Compare page with newer version of React.js #60

Open natebass opened 1 year ago

natebass commented 1 year ago

The Compare page openbudgetsac.org/compare uses an old version of React.js, which uses deprecated coding standards. Upgrading to the newer version of React.js would require a complete rewrite.

Work has already been started by @PlacidSerene https://github.com/PlacidSerene/openbudget-rework

MonstersInc-sudo commented 1 year ago

For this refactor are we looking to also update dependencies like ChartJS?

natebass commented 1 year ago

Yeah, we could update as many dependencies as we can to the current version. We would just need to check if there are any breaking API changes that would require us to update our code. I know that this is the case with React; it uses react-cli and makes some breaking changes to the way it declares its components.