Render raw html on your own risk!
-
Updated
Aug 23, 2021 - JavaScript
Render raw html on your own risk!
Convert HTML/XML source code or DOM nodes to React elements
Avoid use of dangerouslySetInnerHTML with this lightweight (2KB) function. Can parse HTML strings into VDom trees, ready to render in your Preact components
Sitepoint Blog is a blog website that is used to see the blogs related to programming. It is deployed in Vercel.
☢⚛ Create dangerous React components in style
Add a description, image, and links to the dangerouslysetinnerhtml topic page so that developers can more easily learn about it.
To associate your repository with the dangerouslysetinnerhtml topic, visit your repo's landing page and select "manage topics."