Tao Xin

Results 75 comments of Tao Xin
trafficstars

Yeah, I understand `x` means a `number`. My point is: `event.target.value` equals `1` for the input event that is triggered when you delete the number after the decimal point. This...

According to [bundlephobia](https://bundlephobia.com/package/[email protected]). Preact is 11.2kB minified (vs. VanJS 1.7kB) and 4.5kB minified + gzipped (vs. VanJS 0.9kB).

In `publish.sh`, there is a step to generate the `.min.js.gz` file along with the `.min.js` file (although the `.min.js.gz` is ignored by git thus not part of the repo): https://github.com/vanjs-org/van/blob/d5c60765ef62d43fedeb6a588a40e2bf0a3946a5/src/publish.sh#L17...

Thanks @btakita for introducing the benefit! However, I noticed that the current limit in the `package.json` file (1009B) does not align with the size of the `.min.js.gz` file that I'm...

I feel that the suppression logic can be implemented in event handlers instead of VanJS library.

I think the following design pattern can solve your problem: ```js const appState = ... const viewState = { prop1: van.state(...), prop2: van.state(...), ... } setInterval(() => { }, 1000)...

@all-contributors please add @Tao-VanJS for design, code and documentation please add @ryanolsonx for content please add @tamo for code please add @icecream17 for code please add @enpitsuLin for example and...

Please add @caputdraconis050630 for code

@all-contributors please add @caputdraconis050630 for code

@allcontributors please add @Tao-VanJS for example