Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ikasoba/okome.js

minimum frontend framework
https://github.com/ikasoba/okome.js

Last synced: 15 days ago
JSON representation

minimum frontend framework

Awesome Lists containing this project

README

        

# Okome.js

Okome.js is a minimal, modern frontend framework.
Performance is currently not good.

# Usage

```tsx
import { Signal } from "@ikasoba000/okome.js/signal";
import { useEffect } from "@ikasoba000/okome.js/hooks/useEffect";
import { toDOMNode } from "@ikasoba000/okome.js";

function App() {
const count = new Signal(0);

useEffect(() => {
console.log("count:", count.value);
}, [count]);

return (
<>
count.value++}>count: {count}
>
);
}

document.body.append(toDOMNode());
```