Skip to content

shaaijs/html-element-to-react

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

html-element-to-react

Convert HTML DOM elements to React

npm i --save html-element-to-react

Usage

import React from 'react'
import ReactDOM from 'react-dom'
import { convert } from 'html-element-to-react'

const App = convert(htmlElement)

ReactDOM.render(App, document.getElementById('app'))

About

Convert DOM elements to React elements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published