React 18 does not support async useEffect blocks. In prep to upgrade to React 18, refactor these blocks so that we are not awaiting withing useEffect
Note: we can still achieve the same functionality. This is a syntax issue.
Differential D15341
[Cashtab] Remove async useEffect methods bytesofman on Jan 31 2024, 11:52. Authored by Tags None Subscribers None
Details
React 18 does not support async useEffect blocks. In prep to upgrade to React 18, refactor these blocks so that we are not awaiting withing useEffect Note: we can still achieve the same functionality. This is a syntax issue. Confirm new functions contain exact content of old useEffect blocks. npm test
Diff Detail
Event Timeline
|