Closed claireholt-tw closed 6 months ago
Option 1: Upgrade from React 16 to React 18 (the latest version)
Client Tests - 97/299 Fail, we suspect about 80 of these fails are from Enzyme testing library
Server tests: 9/220 Failed, all with the same error message:
Pact client tests pass, pact server test failed.
Option 2: Upgrade from React 16 to React 17
7/299 failed Compared to 97/299 failures when using React 18
Initially they failed: We re-ran the failing tests and they passed:
Upgrade to React 17
Long term goal: upgrade to React 18
[!TIP] Once we get rid of enzyme tests, it will be easy for us to upgrade to React v.18
Business Context
Our current React version is 16.1, which is several years behind the most recent version. This makes us hard to use newer features like the MUI X Data Grid. We want to look into seeing how difficult it would be to upgrade our React version.
Definition of Done
We're able to give a rough estimate of how complex upgrading would be. We'll also know which packages have breaking changes that will require updating.
Timebox
1 Day
Acceptance Criteria
Do research/play around and answer:
607
Notes:
N/A