Skip to content

Commit

Permalink
1.2.8: Add support for custom event handlers. Fixes #2, #146.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tao-VanJS committed Jan 23, 2024
1 parent 426063f commit 36c128e
Show file tree
Hide file tree
Showing 67 changed files with 1,150 additions and 247 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Declarative DOM tree composition, reusable components, reactive state binding -

### Ultra-Lightweight

**VanJS** is the smallest reactive UI framework in the world, with just 0.9kB in the gzipped minified bundle. It's **50~100 times** smaller than most popular alternatives. Guess what you can get from this 0.9kB framework? All essential features of reactive UI programming - DOM templating, state, state binding, state derivation, effect, SPA, client-side routing and even hydration!
**VanJS** is the smallest reactive UI framework in the world, with just 1.0kB in the gzipped minified bundle. It's **50~100 times** smaller than most popular alternatives. Guess what you can get from this 1.0kB framework? All essential features of reactive UI programming - DOM templating, state, state binding, state derivation, effect, SPA, client-side routing and even hydration!

![Size comparison](doc/size_comp.png)

Expand Down Expand Up @@ -127,7 +127,7 @@ Simplicity at its core. 5 major functions (`van.tags`, `van.add`, `van.state`, `

🙏 **VanJS** aims to build a better world by reducing the entry barrier for UI programming, with no intention or plan on commercialization whatsoever. If you find **VanJS** interesting, or could be useful for you some day, please consider starring the project. It takes just a few seconds but your support means the world to us and helps spread **VanJS** to a wider audience.

> In the name of **Van**illa of the House **J**ava**S**cript, [the First of its name](https://vanjs.org/about#name), Smallest Reactive UI Framework, 0.9kB JSX-free Grab 'n Go Library, [Scripting Language](https://vanjs.org/about#story) for GUI, [GPT-Empowered](https://chat.openai.com/g/g-7tcSHUu27-vanjs-app-builder) Toolkit, by the word of Tao of the House Xin, Founder and Maintainer of **VanJS**, I do hereby grant you the permission of **VanJS** under [MIT License](https://github.com/vanjs-org/van/blob/main/LICENSE).
> In the name of **Van**illa of the House **J**ava**S**cript, [the First of its name](https://vanjs.org/about#name), Smallest Reactive UI Framework, 1.0kB JSX-free Grab 'n Go Library, [Scripting Language](https://vanjs.org/about#story) for GUI, [GPT-Empowered](https://chat.openai.com/g/g-7tcSHUu27-vanjs-app-builder) Toolkit, by the word of Tao of the House Xin, Founder and Maintainer of **VanJS**, I do hereby grant you the permission of **VanJS** under [MIT License](https://github.com/vanjs-org/van/blob/main/LICENSE).
Contact us: [@taoxin](https://twitter.com/intent/follow?region=follow_link&screen_name=taoxin) / [[email protected]](mailto:[email protected]) / [Tao Xin](https://www.linkedin.com/in/tao-xin-64234920/)

Expand Down
8 changes: 4 additions & 4 deletions addons/van_cone/examples/hello-world/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion addons/van_cone/examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"van-cone": "^0.0.2",
"vanjs-core": "^1.2.7"
"vanjs-core": "^1.2.8"
},
"devDependencies": {
"vite": "^4.3.9",
Expand Down
8 changes: 4 additions & 4 deletions addons/van_cone/examples/spa-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion addons/van_cone/examples/spa-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"dependencies": {
"van-cone": "^0.0.2",
"vanjs-core": "^1.2.7"
"vanjs-core": "^1.2.8"
}
}
2 changes: 1 addition & 1 deletion bun-examples/hydration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is a [Bun 1.0](https://bun.sh/blog/bun-v1.0)-based variation of the fullsta
```json
"dependencies": {
"mini-van-plate": "^0.5.3",
"vanjs-core": "^1.2.7"
"vanjs-core": "^1.2.8"
},
"devDependencies": {
"bun": "^1.0.0",
Expand Down
8 changes: 4 additions & 4 deletions bun-examples/hydration/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bun-examples/hydration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"mini-van-plate": "^0.5.3",
"vanjs-core": "^1.2.7"
"vanjs-core": "^1.2.8"
},
"devDependencies": {
"bun": "^1.0.0",
Expand Down
8 changes: 4 additions & 4 deletions components/examples/await/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/await/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.7",
"vanjs-core": "^1.2.8",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/banner/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/banner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.7",
"vanjs-core": "^1.2.8",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/message/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/message/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.7",
"vanjs-core": "^1.2.8",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/modal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.7",
"vanjs-core": "^1.2.8",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/option-group/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/option-group/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.7",
"vanjs-core": "^1.2.8",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/tabs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.7",
"vanjs-core": "^1.2.8",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/toggle/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/toggle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.7",
"vanjs-core": "^1.2.8",
"vanjs-ui": "^0.10.0"
}
}
8 changes: 4 additions & 4 deletions components/examples/tooltip/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/examples/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"vite": "^4.3.9"
},
"dependencies": {
"vanjs-core": "^1.2.7",
"vanjs-core": "^1.2.8",
"vanjs-ui": "^0.10.0"
}
}
Loading

0 comments on commit 36c128e

Please sign in to comment.