0.1.3 • Published 3 years ago

convert-element-to-react v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

convert-element-to-react

Convert HTML DOM elements to React

npm i --save convert-element-to-react

Usage

import React from "react";
import ReactDOM from "react-dom";
import convertElementToReact from "convert-element-to-react";

const App = convertElementToReact(htmlElement);

ReactDOM.render(App, document.getElementById("app"));

Originally based on https://github.com/shaaijs/html-element-to-react

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0-temp-16

3 years ago

0.1.0-temp-15

3 years ago

0.1.0-temp-14

3 years ago

0.1.0-temp-13

3 years ago

0.1.0-temp-12s

3 years ago

0.1.0-temp-11

3 years ago

0.1.0-temp-10

3 years ago

0.1.0-temp-9

3 years ago

0.1.0-temp-8

3 years ago

0.1.0-temp-7

3 years ago

0.1.0-temp-6

3 years ago

0.1.0-temp-5

3 years ago

0.1.0-temp-4

3 years ago

0.1.0-temp-3

3 years ago

0.1.0-temp-2

3 years ago

0.1.0-temp-1

3 years ago

0.1.0-temp

3 years ago

0.1.0

3 years ago