Update react peerDependencies for React 18
See original GitHub issueCould we update the peerDependencies to allow React 18?
"peerDependencies": {
-- "react": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1",
++ "react": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0",
-- "react-dom": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1"
++ "react-dom": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0"
},
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
React 18 is not supported as a peer dependency #5205 - GitHub
Possible solution. Update "peerDependencies" in package.json to support React 18.
Read more >create-react-app dependency version issues with React 18
Update. The problem has been fixed with the latest update of create-react-app . Now it creates a project without any problem.
Read more >Add React 18 as a peer dependency - Morioh
This tutorial will show you what CRUD means and what each individual operation in a CRUD app does. Learn how create, read, update,...
Read more >you must install peer dependencies yourself Code Example
requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. ... react-select@3.1.1 requires a peer of react-dom@^16.8.0 ...
Read more >React Testing Library - npm
This library has peerDependencies listings for react and ... Warning: An update to ComponentName inside a test was not wrapped in act(...).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
🚀 The support of React 18 is release in v15.0.0. Please give feedback if you have issue with it. Thanks for @markhughes for the PR.
Hey @armandabric I’ve put together the change and even added smoke tests (works fine): https://github.com/algolia/react-element-to-jsx-string/pull/729
thanks for the idea!