mjec / rc-niceties

End of batch niceties for the Recurse Center
MIT License
15 stars 5 forks source link

Upgrade React to 16 #86

Closed christalee closed 2 years ago

christalee commented 2 years ago

This commit upgrades react / react-dom to the latest point release of React 16, which brings us all the way to October 2020. It also upgrades react-scripts to a contemporary version, the latest in 3.4.x, which required the addition of a 'target browsers' section in package.json. To resolve some errors, I upgraded react-bootstrap a few versions, but still Bootstrap 3.

Note that I had to install npm i --legacy-peer-deps to resolve a peer dependency conflict. Users of npm 6 and earlier should not have this problem.

I built and ran the app locally and confirmed that it produced no errors while saving niceties, viewing niceties as a user, and viewing them as an admin.