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

Add support for react@17 #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danscan
Copy link

@danscan danscan commented Oct 29, 2020

At Futurism, we are using react-html-parser with next@10 and react@17. This PR adds support for react@17.

All tests pass :)

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling b6945ac on futurism-core:master into e89bba4 on wrakky:master.

@Hypnosphi
Copy link

@wrakky can you please review

@willashe
Copy link

willashe commented Apr 6, 2021

@wrakky bump, it would be great if we could get this reviewed/merged

@rene-mueller
Copy link

@danscan please update version number

ChristianMurphy added a commit to ChristianMurphy/openEquella that referenced this pull request Aug 5, 2021
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
@durgeshrkumari
Copy link

Could we please get this merged?

@mrdrogdrog
Copy link

@durgeshrkumari maybe you want to take a look at our hard fork?

@leopucci
Copy link

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.

quietly-turning added a commit to quietly-turning/Lua-For-SM5 that referenced this pull request Sep 22, 2021
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"
Copy link

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"
  },

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

Successfully merging this pull request may close these issues.

None yet

10 participants