CloudScape depends on react-virtual, which does not support React 18. However according to the CloudScape team this is a warning that can be ignored and will be fixed in the future
Changes
update to React 18
update CloudScape to get support for React 18
update @testing-library to get support for React 18
remove @testing-library/react-hooks as it does not support React 18
How Has This Been Tested?
unit test suite
e2e test suite on a production build
manually, tested most of the UI on Chrome, Firefox and Safari
Description
This PR updates the project to React 18. While doing so, related dependencies have been updates as well (see Changes section bellow)
Please note:
renderHook
function exported by @testing-library/reactChanges
How Has This Been Tested?
PR Quality Checklist
react-i18next
library (useTranslation hook and/or Trans component), see an example herenpm run build
builds without any errorIn order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.