This file contains 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
TypeError: Converting circular structure to JSON |
This file contains 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
TypeError: Cannot read property 'useMemo' of null |
This file contains 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
TypeError: Cannot read property 'useState' of null |
This file contains 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
Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot |
This file contains 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
TypeError: Cannot assign to read only property 'reload' of object '[object Location]' |
This file contains 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
yarn remove @testing-library/react-hooks -W && \ | |
yarn add -D @testing-library/react@latest -W |
This file contains 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
Found 342 errors in 196 files. |
This file contains 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
# To run a particular React 18 code mod, e.g. `context-any` | |
npx types-react-codemod [codemod] [path-to-sg-root] [path-to-sg-next] | |
# Or if you prefer you can use the React 18 preset to run all mods | |
npx types-react-codemod preset-18 [path-to-sg-root] [path-to-sg-next] |
This file contains 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
"devDependencies": { | |
- "@testing-library/react": "^11.2.7", | |
- "@testing-library/react-hooks": "^8.0.1", | |
+ "@testing-library/react": "^13.4.0", | |
- "@types/react": "^17.0.20", | |
- "@types/react-dom": "^17.0.9", | |
- "@types/react-redux": "^7.1.11", | |
+ "@types/react": "^18.0.24", | |
+ "@types/react-dom": "^18.0.8", | |
- "typescript": "4.4.3", |
This file contains 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
"dependencies": { | |
- "@hot-loader/react-dom": "^17.0.1", | |
- "react": "^17.0.2", | |
- "react-dom": "^17.0.2", | |
+ "react": "^18.2.0", | |
+ "react-dom": "^18.2.0", | |
- "react-redux": "^7.2.4", | |
+ "react-redux": "^8.0.5", | |
- "redux-thunk": "^2.3.0", | |
+ "redux-thunk": "^2.4.2", |
NewerOlder