HomePhabricator

[Cashtab] Upgrade to React 18

Description

[Cashtab] Upgrade to React 18

Summary:
Upgrade to React 18. This allows us to better maintain the dependency tree and take advantage of the latest testing libraries.

Bump jest timeout as, althought tests passed in first CI here, were flaky locally.

Add waitFor on flaky local test (available method in upgraded library).

The react hooks testing library is now part of @testing-library/react. Must use this version with React 18. So, the legacy dependency is removed, and @testing-library/react is upgraded.

Test Plan:
npm test
npm run build

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D15336

Details

Provenance
bytesofmanAuthored on Jan 31 2024, 00:43
bytesofmanPushed on Feb 1 2024, 12:09
Reviewer
Restricted Project
Differential Revision
D15336: [Cashtab] Upgrade to React 18
Parents
rABC1fe9d2ad2d79: guix: Remove librt usage from release binaries
Branches
Unknown
Tags
Unknown