Tao Xin

Results 75 comments of Tao Xin
trafficstars

@creatormir, FYI, the caveat was added to VanJS website: https://vanjs.org/x#caveat-array-holes.

I don't have a good idea about what's going wrong in your code. I don't think purely accessing the `val` property of a `State` object would cause an infinity loop....

Thanks @anywhichway for sharing your library! This is definitely interesting work. First, as of VanJS `1.5.0`, the gzipped + minified bundle of VanJS is 1,055 bytes, not 1,704 bytes as...

I think it's perfectly ok to keep this thread open :-) These are interesting discussions. I think it's also beneficial to VanJS community to have relevant work discussed. > Odd,...

In the example listed in [this section](https://vanjs.org/advanced#gc), the mechanism you proposed works when `text` state changes frequently. However, in a scenario where `renderPre` state changes far more frequently than `text`...

Thanks @Bassel-Bakr for the feedback! Here are my 2 cents on the issue: 1. Neither `!==` or `!Object.is` is perfect solution. For `!==`, we have `NaN !== NaN` being `true`....

@cqh963852, could you take a look at this issue?

Hi @ravensiris, The PR was merged. You can upgrade `vanjs-jsx` to `0.2.0` to use the updated implementation.

Thanks for your contribution to the VanJS project! Could you describe the primary use cases of this feature?

I'm not fully onboard with adding this complexity to VanJS library for this feature. For the use case you described, there is a relatively simple workaround: ```js input({ id ??...