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
Categories
HTML/XHTMLLicense
MIT LicenseFollow html-react-parser
You Might Also Like
Monitor your whole IT Infrastructure
Caters to tech staff, system Administrators, and companies of any size, from small and medium sized businesses to enterprises that need their IT network to be reliable and easy to monitor in real-time. Equipped with an easy-to-use, intuitive interface with a cutting-edge monitoring engine. PRTG optimizes connections and workloads as well as reducing operational costs by avoiding outages while saving time and controlling service level agreements (SLAs).
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of html-react-parser!