Nonprofit-Exchange-Hub/web-app

Migrate fully to React 18

esteban-gs opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
We can't run npm i without having to pass the --legacy-deps flag. Somewhere, our React dependencies got out of sync, so we should be using React 18 anyway.

Describe the solution you'd like
Move to React 18 fully

Describe alternatives you've considered
continue passing the lagacy deps flag

Additional context
See: https://react.dev/blog/2022/03/08/react-18-upgrade-guide

Acceptance Criteria:

  • Let's see what breaks by upgrading to React 18 and if possible, make those changes before upgrading.
  • If changes are too large, we can sub task to other engineers

Note to whoever takes the ticket: From initially looking into this, it looks like one of the first things that will be needed is upgrading MUI from v4 to v5, since v4 doesn't support react 18.