Skip to content

Commit 36c128e

Browse files
committed
1.2.8: Add support for custom event handlers. Fixes #2, #146.
1 parent 426063f commit 36c128e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1150
-247
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Declarative DOM tree composition, reusable components, reactive state binding -
8282

8383
### Ultra-Lightweight
8484

85-
**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!
85+
**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!
8686

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

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

128128
🙏 **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.
129129

130-
> 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).
130+
> 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).
131131
132132
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/)
133133

addons/van_cone/examples/hello-world/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

addons/van_cone/examples/hello-world/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"van-cone": "^0.0.2",
13-
"vanjs-core": "^1.2.7"
13+
"vanjs-core": "^1.2.8"
1414
},
1515
"devDependencies": {
1616
"vite": "^4.3.9",

addons/van_cone/examples/spa-app/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

addons/van_cone/examples/spa-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
},
1515
"dependencies": {
1616
"van-cone": "^0.0.2",
17-
"vanjs-core": "^1.2.7"
17+
"vanjs-core": "^1.2.8"
1818
}
1919
}

bun-examples/hydration/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is a [Bun 1.0](https://bun.sh/blog/bun-v1.0)-based variation of the fullsta
88
```json
99
"dependencies": {
1010
"mini-van-plate": "^0.5.3",
11-
"vanjs-core": "^1.2.7"
11+
"vanjs-core": "^1.2.8"
1212
},
1313
"devDependencies": {
1414
"bun": "^1.0.0",

bun-examples/hydration/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bun-examples/hydration/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"dependencies": {
1111
"mini-van-plate": "^0.5.3",
12-
"vanjs-core": "^1.2.7"
12+
"vanjs-core": "^1.2.8"
1313
},
1414
"devDependencies": {
1515
"bun": "^1.0.0",

components/examples/await/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/examples/await/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vite": "^4.3.9"
1515
},
1616
"dependencies": {
17-
"vanjs-core": "^1.2.7",
17+
"vanjs-core": "^1.2.8",
1818
"vanjs-ui": "^0.10.0"
1919
}
2020
}

components/examples/banner/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/examples/banner/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vite": "^4.3.9"
1515
},
1616
"dependencies": {
17-
"vanjs-core": "^1.2.7",
17+
"vanjs-core": "^1.2.8",
1818
"vanjs-ui": "^0.10.0"
1919
}
2020
}

components/examples/message/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/examples/message/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vite": "^4.3.9"
1515
},
1616
"dependencies": {
17-
"vanjs-core": "^1.2.7",
17+
"vanjs-core": "^1.2.8",
1818
"vanjs-ui": "^0.10.0"
1919
}
2020
}

components/examples/modal/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/examples/modal/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vite": "^4.3.9"
1515
},
1616
"dependencies": {
17-
"vanjs-core": "^1.2.7",
17+
"vanjs-core": "^1.2.8",
1818
"vanjs-ui": "^0.10.0"
1919
}
2020
}

components/examples/option-group/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/examples/option-group/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vite": "^4.3.9"
1515
},
1616
"dependencies": {
17-
"vanjs-core": "^1.2.7",
17+
"vanjs-core": "^1.2.8",
1818
"vanjs-ui": "^0.10.0"
1919
}
2020
}

components/examples/tabs/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/examples/tabs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vite": "^4.3.9"
1515
},
1616
"dependencies": {
17-
"vanjs-core": "^1.2.7",
17+
"vanjs-core": "^1.2.8",
1818
"vanjs-ui": "^0.10.0"
1919
}
2020
}

components/examples/toggle/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/examples/toggle/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vite": "^4.3.9"
1515
},
1616
"dependencies": {
17-
"vanjs-core": "^1.2.7",
17+
"vanjs-core": "^1.2.8",
1818
"vanjs-ui": "^0.10.0"
1919
}
2020
}

components/examples/tooltip/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/examples/tooltip/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vite": "^4.3.9"
1515
},
1616
"dependencies": {
17-
"vanjs-core": "^1.2.7",
17+
"vanjs-core": "^1.2.8",
1818
"vanjs-ui": "^0.10.0"
1919
}
2020
}

0 commit comments

Comments
 (0)