JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q29974F
  • License MIT

A versatile replacement for 'dangerouslySetInnerHTML'. Let's you build react-components deep within a regular HTML-Dom

Package Exports

  • dom-to-react

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dom-to-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

dom-to-react

A versatile replacement for 'dangerouslySetInnerHTML'. Let's you build react-components deep within a regular HTML-Dom

Usage

npm install --save-dev dom-to-react

import Dom2react from 'dom-to-react';

h2r = new Dom2react(options)

To see the included demo in action, use npm run start