van icon indicating copy to clipboard operation
van copied to clipboard

🍦 VanJS: World's smallest reactive UI framework. Incredibly Powerful, Insanely Small - Everyone can build a useful UI app in an hour.

Results 41 van issues
Sort by recently updated
recently updated
newest added

Van propagates every state change immediately to the bound DOM elements. This may result in a bad user experience, if too many changes are applied at a high frequency. VanJs...

Hi ! I'm configuring *Vite* to transform JSX using *vanjs-jsx*. It's a JavaScript project so I don't do configuration in the *tsconfig.json* file but in *vite.config.js* : ```js import {...

Hi, taking a look on https://vanjs.org/minivan#server-side-deno-integration I see useful to support VanJS on JSR. Please see https://jsr.io/ Thanks 🙏🏼

Example for https://github.com/vanjs-org/mini-van/pull/10

Hi @Tao-VanJS, I'm getting this error: ``` Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/vanjs-jsx_jsx-dev-runtime.js?v=6fa83af3' does not provide an export named 'Fragment' ``` Perhaps including something in compileOptions or the jsx-runtime would...

Fixes #325, #328 and other issues.

The *style* property is no more added to the resulting HTML elements. Previously, the *style* property was handled differently: https://github.com/vanjs-org/van/blob/2c6536e7a8502954a433143f6fdbc7f19ece0636/addons/van_jsx/src/jsx-runtime.js#L36-L39 But now, it should be handled like the other properties:...

Just for fun and pushing the limit on readability... This removes all the redundancy in the code, and using some technics seen in #359 to reduce the minimized file size...

The tutorials are good, but there are few points that aren't clear and that could be improved, IMHO. For example: 1. How do I add multiple (reactive) node without a...

In [this code](https://github.com/vanjs-org/van/blob/2f08a24ec44e4f42641e373a5022b1eebd113eea/src/van.js#L120) you can avoid the `dom.remove()` by simply doing `dom.replaceWith('')` So it can be replaced as `let update = (dom, newDom) => newDom === dom || dom.replaceWith(newDom||'')` Also,...