You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
631 B
40 lines
631 B
# JustAct: Better UIs with Familiar Tools
|
|
|
|
```javascript
|
|
class MyComponent extends justact.Component {
|
|
render () {
|
|
<input value={this.message$}>
|
|
}
|
|
}
|
|
```
|
|
|
|
## Why JustAct?
|
|
|
|
- Data bindings without virtual DOM
|
|
- Less refactoring
|
|
- Separation of concerns with ease
|
|
|
|
## Developing
|
|
|
|
```
|
|
# Step 1: Cloning and setup
|
|
|
|
git clone https://gitea.coherentconstructs.com/cc-public/justact.git
|
|
cd justact
|
|
npm install
|
|
npm run build
|
|
|
|
# Step 2: Prepare the demo
|
|
|
|
cd demos/justact-test
|
|
npm install
|
|
npx webpack
|
|
|
|
# Step 3: Run the demo
|
|
|
|
xdg-open "$(pwd)/build/index.html"
|
|
# ^^^^^^^^ or your preferred browser here
|
|
|
|
```
|
|
|