-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add support for react@17 #80
base: master
Are you sure you want to change the base?
Conversation
@wrakky can you please review |
@wrakky bump, it would be great if we could get this reviewed/merged |
@danscan please update version number |
suggested in renovatebot/renovate#9204 this allows working around peternewnham/react-html-parser#80 and gvaldambrini/storybook-router#66 this can be removed when upstream peer conflicts have been resolved
Could we please get this merged? |
@durgeshrkumari maybe you want to take a look at our hard fork? |
Based on the time that you have been waiting, i think maybe someone could assume the development of this module as the Contributors does not seem to be interested even on merging pull requests like this. So i was going to use this module right now, but based on the situation, https://www.npmjs.com/package/html-react-parser seems to be a good fit. |
I performed major-version updates to most node packages. react-html-parser wasn't compatible with react 7, so I moved to a similar project, html-react-parser. See: peternewnham/react-html-parser#80 (comment) Updating @primer/octicons-react threw some errors I didn't have time to investigate, so that remains un-updated for now.
"react": "^16.0.0", | ||
"react-dom": "^16.0.0", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"rimraf": "^2.5.2", | ||
"webpack": "^1.13.0" | ||
}, | ||
"dependencies": { | ||
"htmlparser2": "^3.9.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without updating the htmlparser2 I am getting errors with react 17. In my tests it worked with
"dependencies": {
"htmlparser2": "^7.1.2"
},
At Futurism, we are using react-html-parser with next@10 and react@17. This PR adds support for react@17.
All tests pass :)