react-truncate icon indicating copy to clipboard operation
react-truncate copied to clipboard

Update to React 17

Open Chase-Dickerson opened this issue 4 years ago • 5 comments

Request to update library to use latest React v17. This will necessitate a few other updated libraries as well, namely react-dom and react-test-renderer. Thanks!

Current version used by react-truncate (see package.json): "react": "^16.14.0"

Proposed version: "react": "^17.0.0"

Chase-Dickerson avatar Apr 14 '21 21:04 Chase-Dickerson

I am currently facing installation errors because of this. Did you get an alternative that can be used in react 17?

brianwachira avatar Jul 13 '21 19:07 brianwachira

I am currently facing installation errors because of this. Did you get an alternative that can be used in react 17?

Our alternative for the time being is using CSS to perform truncation. We have an internal components library our company uses that requires react-truncate, and we are opting not to use our internal library right now because of the React v16 dependency.

Chase-Dickerson avatar Jul 13 '21 22:07 Chase-Dickerson

having the same installation problem here.

@Chase-Dickerson thanks for the suggested alternative solution.

AM-77 avatar Sep 09 '21 14:09 AM-77

Me too

prince272 avatar Nov 29 '21 16:11 prince272

seems like this library is asleep. Had to use --force on npm install

vsubbotskyy avatar Jun 07 '22 08:06 vsubbotskyy