h12

H12 🪶

H12 is a lightweight(3kb) javascript front-end library inspired from ReactJS, that allow using components which can use used around multiple places.

Index

Syntax

import H12 from "@library/h12";

class App extends H12 {
    constructor() {
        super();
    }
    main() {}
    render() {
        return <>
            <div>
                Hello world
            </div>
        </>;
    }
}

document.body.appendChild(new App().init());

Basic Syntax:

Properties

Methods


☄️