Tao Xin

Results 75 comments of Tao Xin
trafficstars

@all-contributors please add @mrwyndham for video

Similar issues were raised (#2, #4) before. I think https://github.com/vanjs-org/mini-van/issues/2#issuecomment-1701978240 is the solution.

I think both `van-plate` and `mini-van` can work for your use case. You need a JavaScript runtime to generate the HTML files, can be either NodeJS, Deno or Bun, etc.

Try this: ```js const config = vanX.reactive({colors: ["#ffffff"]}) // ... vanX.list(ul, config.colors, (v, deleter) => li( input({type: "color", value: v, oninput: e => v.val = e.target.value}) )) ```

I believe it's the callers of `hydrate` to ensure the new DOM hydrated element has the same semantic of the existing static element. It's the choice of implementation details in...