material-ui-chip-input icon indicating copy to clipboard operation
material-ui-chip-input copied to clipboard

Please add React 17 support

Open bodqhrohro opened this issue 3 years ago • 7 comments

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

bodqhrohro avatar Nov 14 '21 02:11 bodqhrohro

yes...we need it.

rn2web avatar Jan 08 '22 20:01 rn2web

Any update on this?

ducqhl avatar Jan 27 '22 14:01 ducqhl

Hi all, facing same issue.. any updates??

adityarai avatar Feb 19 '22 15:02 adityarai

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

manishprivet avatar Mar 06 '22 17:03 manishprivet

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.)

Danesz avatar Aug 21 '22 15:08 Danesz

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.

oxc avatar Aug 31 '22 09:08 oxc

Hello ! This package (https://viclafouch.github.io/mui-chips-input/) supports both React 17 / 18 and MUI V5

viclafouch avatar Sep 04 '22 09:09 viclafouch