0.0.3 • Published 2 months ago

zurax v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Zurax

A Virtual DOM application.

Instalation

npm install zurax

Usage

For the usage of the package, two files are required:

index.html

<html lang="en">
  <head> </head>
  <body>
    <script src="src/main.jsx" type="module"></script>
  </body>
</html>

src/main.jsx

/** @jsx zurax */

import { zurax, render } from 'zurax';

const App = ({ title }) => <h1>{title}</h1>;

document.body.appendChild(render(<App title='Your application!' />));
0.0.3

2 months ago

0.0.2

2 months ago

0.0.1

2 months ago