Skip to content
/ rupi Public

💯An alternative to Preact with the same syntax, size and functionality.

Notifications You must be signed in to change notification settings

vaneenige/rupi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💎 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

About

💯An alternative to Preact with the same syntax, size and functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published