1.0.0 • Published 5 years ago

rupi v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

💎 Rupi

npm build coverage license dependencies performance

Rupi is an alternative to Preact with the same syntax, size and functionality.

Features:

  • Familiar Preact API
  • So incredibly fast
  • Everything you need
  • Support for hooks
  • Support for fragments

Install

$ npm install --save rupi

Usage

/** @jsx createElement */

import { createElement, Fragment, render } from "rupi";
import { useEffect } from "rupi/hooks";

function App() {
  useEffect(() => {
    console.log("Component has mounted!");
  }, []);

  return (
    <Fragment>
      <h1>Rupi</h1>
      <p>An alternative to Preact with the same syntax, size and functionality.</p>
    </Fragment>
  );
}

render(<App />, document.querySelector("#root"));

Contribute

  1. Clone the repository
  2. Run the start script
  3. Open a PR with update
1.0.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago