Support React 17
See original GitHub issueSteps to Reproduce:
- Create a project with react 17.x as a dependency
- Attempt to install devextreme 20.2
Results You Received:
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.2.0" from devextreme-react@20.2.5
npm ERR! node_modules/devextreme-react
npm ERR! devextreme-react@"20.2.5" from the root project
Results You Expected:
Installation without warnings
NOTE: While the error talks about the issue being devextreme-react, the actual dependency is in this repo’s package.json. It appears there may be an issue as enzyme-adapter-react-16 doesn’t support react 17, and, not surprizing considering the name, may have to be changed out or added once https://github.com/enzymejs/enzyme/issues/2429 is closed. I have to say, their tagging scheme makes it difficult for products like this one to support multiple versions. This is the reason semantic versioning exists!
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
React v17.0 – React Blog
React 17 supports the new JSX transform. We've also backported support for it to React 16.14.0, React 15.7.0, and 0.14.10.
Read more >React | endoflife.date
React is an open-source JavaScript web framework for building modern web applications. Release, Released, Active Support, Security Support, Latest. 18.2, 6 ...
Read more >React 18 Upgrade Guide and New Features - Refine Dev
render() API supported in React 17; you will see this warning. Typically, we import a component and render it inside a div element...
Read more >Clean way for a component to support both React 17 and ...
React 18 introduced a new way to manually render a component, now instead of calling import ReactDOM from 'react-dom'; ...
Read more >Atlaskit + React 17 - Atlassian Ecosystem Design
It looks like Atlaskit still prefers React 16.x and react-scripts 4.x. Is there a plan to cleanly support React 17.x?
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
This is still an issue in v21.1.3
Encountering the same issue with 21.1.3. Is there a fix?