-
Notifications
You must be signed in to change notification settings - Fork 749
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
Replace react-render-html
library
#2331
Conversation
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ||
import { Tooltip } from 'components/Tooltip'; | ||
import type { Node } from 'react'; | ||
import React from 'react'; | ||
import globalCss from 'styles/_global.scss'; |
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.
No change here, just a reorder of imports
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ||
import type { Node } from 'react'; | ||
import React, { useState } from 'react'; |
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.
No change here, just a reorder of imports
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.
Great work! Looks good to me!
Description
Replaces
react-render-html
, which is currently no longer maintained, for a new one: https://github.com/remarkablemark/html-react-parserMore Details
Utils.renderContent
react-render-html
library, which now I've updated to call theUtils.renderContent
insteadCorresponding Issue
react-render-html
library #2326Reviewing this pull request? Check out our Code Review Practices guide if you haven't already!