Merge pull request #22538 from fshowalter/patch-2

Update react18-migration.md
This commit is contained in:
Fredrik Adelöw
2024-01-26 15:44:19 +01:00
committed by GitHub
+2 -2
View File
@@ -21,9 +21,9 @@ To switch a project to React 18, there are generally three changes that need to
// highlight-remove-next-line
"@types/react": "^17",
// highlight-remove-next-line
"@types/react": "^17",
"@types/react-dom": "^17",
// highlight-add-next-line
"@types/react-dom": "^18",
"@types/react": "^18",
// highlight-add-next-line
"@types/react-dom": "^18",
},