[SG-33302] Upgrade to the latest version of React
Created by: gitstart-sourcegraph
Description
Upgrade react to 17.0.2
Upgrade following packages:
- react: ^16.14.0 -> ^17.0.2
- react-dom: ^16.14.0 -> ^17.0.2
- @types/react: 17.0.0 -> 17.0.43
- @types/react-dom: 16.9.8 -> 17.0.14
- @testing-library/dom: ^8.11.1 -> ^8.13.0
- @testing-library/jest-dom: ^5.11.9 -> ^5.16.4
- @testing-library/react: ^10.4.8 -> ^12.1.4
- @testing-library/react-hooks: ^3.4.1 -> ^7.0.2
Test plan
Make sure all checks are passed in CI