0.1.3 • Published 2 years ago

convert-element-to-react v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0-temp-16

2 years ago

0.1.0-temp-15

2 years ago

0.1.0-temp-14

2 years ago

0.1.0-temp-13

2 years ago

0.1.0-temp-12s

2 years ago

0.1.0-temp-11

2 years ago

0.1.0-temp-10

2 years ago

0.1.0-temp-9

2 years ago

0.1.0-temp-8

2 years ago

0.1.0-temp-7

2 years ago

0.1.0-temp-6

2 years ago

0.1.0-temp-5

2 years ago

0.1.0-temp-4

2 years ago

0.1.0-temp-3

2 years ago

0.1.0-temp-2

2 years ago

0.1.0-temp-1

2 years ago

0.1.0-temp

2 years ago

0.1.0

2 years ago