@dreipol/reactify
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@dreipol/reactify

Enhance static HTML with react components

Install

npm install @dreipol/reactify

Usage

Checkout the example

<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>My First Parcel App</title>
</head>
<body>
<h1>Hello, World!</h1>
<component element="Providers">
    <component element="Basket">
    </component>

    <component element="Item" total="10.50">
        Buy item 1
    </component>
    <component element="Item" total="20">
        Buy item 2
    </component>
</component>

<script src="dist/bundle.js"></script>
</body>
</html>

Readme

Keywords

none

Package Sidebar

Install

npm i @dreipol/reactify

Weekly Downloads

0

Version

0.1.1

License

none

Unpacked Size

8.08 kB

Total Files

8

Last publish

Collaborators

  • hannahku
  • philipplaeubli
  • fabricetobler
  • thibi