BMMRO-tech / BMMRO

MIT License
3 stars 5 forks source link

Upgrade react-scripts to v5.0 #446

Open rameez25 opened 1 year ago

rameez25 commented 1 year ago

Currently using react-scripts 3.4.3. As part of this ticket, we should be upgrading to react-scripts 5.0. This is a breaking change. This fails for all tests that run firestore. (Timebox - 0.5 days)

Rodrjen commented 1 month ago

The team on May 2024 have tried to upgrade to v4.0 as the first baby step, however due to all the work that needed to be done (upgrading firebase to the latest version, changes to unit, e2e tests and the export script) as well as other major changes, we decided, based on the time we have, not to upgrade to this version. The firebase was upgraded to a non-breaking version and the firebase testing library was updated too, as this was deprecated.

Bearing in mind all of the above, we encourage to replace react-scripts with a framework that is updated in a frequent basis. React-scripts was last updated two years ago (v5.0).