HTML to React parser that works on both the server (Node.js) and the client (browser). The parser converts an HTML string to one or more React elements. Available as part of the Tidelift Subscription. For TypeScript projects, you may need to check that domNode is an instance of domhandler's Element. Make sure to render parsed adjacent elements under a parent element.

Features

  • Import or require the module
  • Make sure to render parsed adjacent elements under a parent element
  • Parse multiple elements
  • The replace option allows you to replace an element with another element
  • Replace with TypeScript
  • Convert DOM attributes to React props

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML

License

MIT License

Follow html-react-parser

html-react-parser Web Site

Other Useful Business Software
Propel Software: Product Value Management Platform for Manufacturers Icon
Propel Software: Product Value Management Platform for Manufacturers

For modern product companies that need to connect product and commercial teams successfully

Propel is a cloud-native Product Value Management platform that unifies PLM, QMS, and PIM in one connected system, giving manufacturers complete visibility and control across the entire product lifecycle. It provides a single source of truth for all product data, streamlines change management, strengthens quality and compliance processes, and accelerates time-to-market by eliminating the silos and manual steps that slow teams down.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of html-react-parser!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript HTML XHTML

Registered

2023-04-21