https://github.com/vaneenige/rupi
💯An alternative to Preact with the same syntax, size and functionality.
https://github.com/vaneenige/rupi
alternative component fast preact vdom
Last synced: about 1 month ago
JSON representation
💯An alternative to Preact with the same syntax, size and functionality.
- Host: GitHub
- URL: https://github.com/vaneenige/rupi
- Owner: vaneenige
- Created: 2019-04-01T18:44:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T18:56:07.000Z (about 6 years ago)
- Last Synced: 2025-04-23T00:43:24.398Z (about 1 month ago)
- Topics: alternative, component, fast, preact, vdom
- Homepage:
- Size: 1.95 KB
- Stars: 45
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 💎 Rupi





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
```javascript
/** @jsx createElement */import { createElement, Fragment, render } from "rupi";
import { useEffect } from "rupi/hooks";function App() {
useEffect(() => {
console.log("Component has mounted!");
}, []);return (
Rupi
An alternative to Preact with the same syntax, size and functionality.
);
}render(, document.querySelector("#root"));
```## Contribute
1. Clone the repository
2. Run the start script
3. Open a PR with update