amplify-ui
amplify-ui copied to clipboard
build: update build to align with the minimum React version
Description of changes
The current minimum react version we claim to support is 16.8.0. However, the dev version we use to build our library is 17.0.2. This could be problematic since it would introduce some types missing from React 16. Like #2160
Issue #, if available
#2160
Description of how you validated changes
Testing against a sample app running on React 16.8.0, 17 and the latest 18.
Checklist
- [x] PR description included
- [ ]
yarn testpasses - [x] No side effects or
sideEffectsfield updated
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
⚠️ No Changeset found
Latest commit: fc24e6eb9b0cd31434d6a650a765352b2e4e989c
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Closed per discussion offline #2594