[material-ui] Update minimum TypeScript support to 4.9#45535
Merged
siriwatknp merged 6 commits intomui:masterfrom Mar 20, 2025
Merged
[material-ui] Update minimum TypeScript support to 4.9#45535siriwatknp merged 6 commits intomui:masterfrom
siriwatknp merged 6 commits intomui:masterfrom
Conversation
siriwatknp
commented
Mar 10, 2025
|
|
||
| ## Supported browsers and versions | ||
|
|
||
| ### Minimum TypeScript version |
Member
Author
There was a problem hiding this comment.
The structure and content is similar to v6 upgrade guide.
Netlify deploy preview
Bundle size report |
Janpot
reviewed
Mar 10, 2025
DiegoAndai
reviewed
Mar 19, 2025
Comment on lines
+19
to
+38
| ### Minimum React version | ||
|
|
||
| The minimum supported version of React is v17.0.0 (the same as v5 and v6). | ||
| Use the snippet below to update your project (replace the `<version>` with the one you want): | ||
|
|
||
| <codeblock storageKey="package-manager"> | ||
|
|
||
| ```bash npm | ||
| npm install react@<version> react-dom@<version> | ||
| ``` | ||
|
|
||
| ```bash pnpm | ||
| pnpm add react@<version> react-dom@<version> | ||
| ``` | ||
|
|
||
| ```bash yarn | ||
| yarn add react@<version> react-dom@<version> | ||
| ``` | ||
|
|
||
| </codeblock> |
Member
There was a problem hiding this comment.
If it's the same as v6, I think we can remove this section and keep only the @types/react one.
Member
Author
There was a problem hiding this comment.
I still think that this section is useful. If I am upgrading to v7, I want to know this even though the minimum version is the same.
So I simplified this section instead.
DiegoAndai
approved these changes
Mar 20, 2025
|
|
||
| ## Supported browsers and versions | ||
|
|
||
| ### Minimum React version |
Member
|
I have updated the support version page in #45761. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For v7, align with DefinitelyTyped support window (2 years).
Side benefit of this is to align with the ongoing PR that mention about
satisfiesusage (added in TypeScript 4.9).