Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to React 17 #144

Open
Chase-Dickerson opened this issue Apr 14, 2021 · 5 comments
Open

Update to React 17 #144

Chase-Dickerson opened this issue Apr 14, 2021 · 5 comments

Comments

@Chase-Dickerson
Copy link

Chase-Dickerson commented Apr 14, 2021

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"

@brianwachira
Copy link

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

@Chase-Dickerson
Copy link
Author

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.

@AM-77
Copy link

AM-77 commented Sep 9, 2021

having the same installation problem here.

@Chase-Dickerson thanks for the suggested alternative solution.

@prince272
Copy link

Me too

@vsubbotskyy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants