Evan You

Results 333 comments of Evan You

This seems to only happen in the playground, maybe due to outdated Volar used? I can't reproduce this locally in VSCode either.

Closing as a duplicate of #11733 - neither can be reproduced on my end so let's keep only one open.

Looks like this is lacking runtime behavior tests in https://github.com/vuejs/core/blob/main/packages/runtime-dom/__tests__/directives/vModel.spec.ts

[`replaceChildren`](https://caniuse.com/?search=replaceChildren) seems to require browser support that is above ES2016 baseline.

After looking at the implementation, the additional code isn't that heavy and I think it's better to always support trusted types without having to explicitly turn it on for production....

The way we handle built-in HTML tags makes this technically a breaking change if someone was previously having a component named `search`. Right now: - If a tag is listed...

We should follow what Rollup does in this case.

For reference: https://github.com/evanw/decorator-tests

This should be in the scope of language tools and how `v-for` codegen works. Transferring over.