Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for React 16 and 17 #8340

Merged
merged 4 commits into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions polaris-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"react-transition-group": "^4.4.2"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@changesets/get-release-plan": "^3.0.13",
Expand Down
1 change: 0 additions & 1 deletion polaris-react/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ function generateConfig({output, targets, stylesConfig}) {
// Options that may be present on the `babelConfig` object but
// we want to override
envName: 'production',
// @ts-expect-error targets is a valid babel option but @types/babel__core doesn't know that yet
targets,
}),
replace({
Expand Down