Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ikasoba/okome.js
- Owner: ikasoba
- Created: 2023-04-24T12:47:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-26T16:33:38.000Z (over 1 year ago)
- Last Synced: 2024-11-24T01:04:05.345Z (about 1 month ago)
- Language: TypeScript
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
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());
```