Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/Mox-js/Mox-js


https://github.com/Mox-js/Mox-js

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Mox.js

一个极简的声明式 JavaScript UI 框架。

引入 src 文件后,简单几行代码即可创建响应式、声明式的 UI

```javascript
const app = State((state) => () => {
const times = state(0);
return Flex(
Div(times.value),
Div("click me").on("click", (times.value = times.value - 1))
).flexFlow("column");
});

new Mox().Render("app", app);
```