material-ui-chip-input
material-ui-chip-input copied to clipboard
Please add React 17 support
I run into a dependency conflict currently:
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/[email protected]
npm ERR! node_modules/@material-ui/core
npm ERR! @material-ui/core@"^4.11.2" from the root project
npm ERR! peer @material-ui/core@"^4.0.0" from [email protected]
npm ERR! node_modules/material-ui-chip-input
npm ERR! material-ui-chip-input@"^2.0.0-beta.2" from the root project
npm ERR! 1 more (react-dom)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.6" from [email protected]
npm ERR! node_modules/material-ui-chip-input
npm ERR! material-ui-chip-input@"^2.0.0-beta.2" from the root project
yes...we need it.
Any update on this?
Hi all, facing same issue.. any updates??
Hi all, I think the repository is dead considering the time of the last commit. I found this great codepen which utilized mui for a similar chip input.
https://codesandbox.io/s/long-morning-oubt4?file=/src/App.tsx
I have forked the repo and made some modifications (I am not really a JS man), and I could make it work in my project like this:
npm i https://github.com/Danesz/material-ui-chip-input#feature/react17
(my branch is based on the latest v2 beta tag.)
Based on @Danesz changes I created a pull request (well aware that there have not been any commits recently).
My change only expands the range of the peerDependency, there's no need to update the devDependencies.
Hello ! This package (https://viclafouch.github.io/mui-chips-input/) supports both React 17 / 18 and MUI V5