owner stringclasses 14
values | repo stringclasses 14
values | id int64 116k 4.61B | issue_number int32 1 181k | author stringlengths 1 39 | body stringlengths 1 262k | created_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:16:18 | updated_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:22:56 | reactions unknown | author_association stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|
vuejs | core | 1,273,853,647 | 6,849 | eldair | Yeah, you're right.
I am seeing some issue concerning reusability of rendered code in v-for but I am still unable to make a simple reproduction. I will open a new issue as soon as I do. | 2022-10-10T21:57:48 | 2022-10-10T21:57:48 | {} | NONE |
vuejs | core | 1,274,023,419 | 6,850 | zhangzhonghe | 我也有疑惑,生产环境和开发环境的编译结果不一致是出于什么考虑的呢? | 2022-10-11T02:56:38 | 2022-10-11T02:56:38 | {} | MEMBER |
vuejs | core | 1,276,081,673 | 6,859 | schellmax | related post in the vuejs forum: https://forum.vuejs.org/t/native-image-lazy-loading-possible/103907 | 2022-10-12T12:27:48 | 2022-10-12T12:27:48 | {} | NONE |
vuejs | core | 1,278,111,405 | 2,015 | dpmango | Wrapper hack works well. Thank you @patforg @Obapelumi
One more alternative with pooling `querySelector` in interval. Just be sure element teleport to is really somewhere on the page, otherwise loop wont stop. Preferably use no Teleport under v-if conditions
Usually element is found on 3-4 run
```vue
<script... | 2022-10-13T19:54:54 | 2022-10-13T20:03:52 | {
"+1": 2
} | NONE |
vuejs | core | 1,278,692,010 | 6,644 | Csszabi98 | You could use something like:
```typescript
export type Constructor<Signature> = abstract new (...args: any) => Signature
// Remove default vue properties from the component ref instance
export type ComponentRef<Component extends Constructor<unknown>> = {
[
Key in keyof InstanceType<Component> as
... | 2022-10-14T08:48:10 | 2022-10-14T08:48:10 | {} | NONE |
vuejs | core | 1,278,796,630 | 5,584 | quangddinh | I have solved this problem like this.
```js
<template>
<div>
<input
v-model="val"
@change="onChange" />
</div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
const props = defineProps({value: {},})
const val = ref(props.value)
const emit = defineEmits<{(e... | 2022-10-14T10:12:12 | 2022-10-14T10:12:12 | {} | NONE |
vuejs | core | 1,277,594,252 | 6,876 | xsjcTony | Great, thanks. Guess I can learn a lot from the official fix. | 2022-10-13T13:16:58 | 2022-10-13T13:16:58 | {} | NONE |
vuejs | core | 1,278,665,824 | 6,881 | LinusBorg | This mirrors HTML behavior. Both of these will disable the input
```html
<input type="text" disabled>
<input type="text" disabled="">
```
https://jsfiddle.net/gnafbzru/ | 2022-10-14T08:26:33 | 2022-10-14T08:26:33 | {} | MEMBER |
vuejs | core | 1,273,994,466 | 6,850 | luke358 | 切换编译环境会有不同的结果

| 2022-10-11T02:10:50 | 2022-10-11T02:10:50 | {} | NONE |
vuejs | core | 1,276,496,829 | 6,864 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | c553efa34bb380677b97063a0561c54c35fbaf4a |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-10-12T17:17:47 | 2022-10-12T17:17:47 | {} | NONE |
vuejs | core | 1,276,967,247 | 6,861 | lsdsjy | I think it's also a normal usage in my example. As a user I don't need to know about how scoped CSS works. We just expect that it works.
> Mutpliple-root children don't inherit that attribute.
Why? What if we apply parent scope id to every child component even if it has multiple root elements, and we change the gen... | 2022-10-13T03:07:31 | 2022-10-13T03:07:31 | {
"+1": 1
} | NONE |
vuejs | core | 1,277,324,322 | 6,817 | xunmi1 | https://github.com/microsoft/TypeScript/issues/37469 | 2022-10-13T09:37:33 | 2022-10-13T09:37:33 | {
"+1": 2
} | NONE |
vuejs | core | 1,278,335,338 | 5,625 | wkrick | @sqal
> add `"skipLibCheck": true` to your tsconfig.json
Does this fix anything or does it just hide the underlying issue? | 2022-10-14T00:50:50 | 2022-10-14T00:51:37 | {
"+1": 9
} | NONE |
vuejs | core | 1,278,725,658 | 6,881 | posva | This is expected and has been discussed many times. If you want to allow it as an empty [string as well](https://sfc.vuejs.org/#eNqlUj1Pw0AM/SvmlhSpzYk1pJUQCyMbyy1J6qSpch/yXcsQ8t/xJUdVQCoD08V+z8/Pdkbx5Fx+PqEoROkb6l0Aj+HkYKhMt1UieCV2ygD02lkK8Gy1g5ashiyXMYjFmTIJHoGwhSkxFkiZxhofQPsOthFfZS84DBbeLA37u+xemVIuvbkTBwG1G6qAc99y... | 2022-10-14T09:17:07 | 2022-10-14T09:17:07 | {
"heart": 1
} | MEMBER |
vuejs | core | 1,272,452,525 | 6,838 | sxzz | I created a minimum reproduction: https://sfc.vuejs.org/#eNp9kN1qwzAMhV9FmEISaOz70Bb2Hr7pMrVLiX+QlG4Q/O6T2zLGCr2zpONPOmc1bznb64JmMDseacoCjLLkg49TyIkEVthAgROlAI11gixWuPHRxzFFTjPaOZ3bTdt1Pu7cnaG/tRAMeT4KagWwKqftoJSq+p2Yrbmv6cMx2wunqIesVe8fA/ZmgFun9vTSWnvzKZJ5cI5PYz3/wjbR2enL0hJlCmiRQ/9O6YuRFOzN9g/DafOK1BPGDySkV8x/0iduxaq... | 2022-10-09T04:29:13 | 2022-10-09T04:29:13 | {} | MEMBER |
vuejs | core | 1,274,007,862 | 6,850 | liulinboyi | 在render函数中,直接取值,而未通过$setup.xx或者_ctx.xx取值,在render函数重新执行来更新界面时,未响应的值会搭响应值的顺风车,渲染出最新的值到界面。正如https://github.com/vuejs/core/issues/6850#issuecomment-1273994466 所说,不同的编译环境也会选择是否通过$setup.xx取值或者_ctx.xx取值或者直接取值。
就像下面这样:
```javascript
/* Analyzed bindings: {
"ref": "setup-const",
"count1": "setup-ref",
"count2": "s... | 2022-10-11T02:27:43 | 2022-10-11T02:27:43 | {} | MEMBER |
vuejs | core | 1,275,759,227 | 6,843 | Dunqing | This test is the same as this issue, so I don't need to add the same cases for the test.
https://github.com/vuejs/core/blob/35dc2bbe7d22a4b551f912612f8d4f04788005a7/packages/compiler-core/__tests__/transforms/vIf.spec.ts#L652-L664 | 2022-10-12T08:06:36 | 2022-10-12T08:06:36 | {} | CONTRIBUTOR |
vuejs | core | 1,276,283,404 | 6,861 | LinusBorg | I'd call this expected behaviour fom the way scoped styles and deep selectors work.
This is the generated CSS:
```css
[data-v-472cff63] h1 {
color: red;
}
```
As you can see, it requires a parent element bearing the parent's scope-id.
Parent scope ids are only applied to the (single) root element of chi... | 2022-10-12T14:33:20 | 2022-10-12T14:33:37 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,277,590,742 | 6,876 | sxzz | I guess we should wait for Evan to make the decision on RFC. If there's any news, I'll ping you on this issue. | 2022-10-13T13:14:23 | 2022-10-13T13:14:23 | {
"heart": 1
} | MEMBER |
vuejs | core | 1,278,648,428 | 6,881 | Linkontoask | I found out that this is a known thing, is there a description in the documentation please? Because this can cause runtime errors.
https://github.com/vuejs/core/blob/82a73da351bb5d26735f734ae2540a3033c00c9e/packages/runtime-core/__tests__/componentProps.spec.ts#L150 | 2022-10-14T08:11:51 | 2022-10-14T08:14:58 | {} | NONE |
vuejs | core | 1,278,731,166 | 6,881 | Linkontoask | @smallnine9 thx | 2022-10-14T09:21:43 | 2022-10-14T09:21:43 | {} | NONE |
vuejs | core | 1,278,753,792 | 6,882 | DearGu | > > typescript-eslint/recommend-require-type-check
> > 好吧,我项目中确实没有使用到该插件....
你可以试下在你项目使用这个插件 看看会不会有问题 | 2022-10-14T09:40:08 | 2022-10-14T09:40:08 | {} | NONE |
vuejs | core | 1,273,963,811 | 6,587 | jrbasso | That's not the same thing. If I just use `.parent-class .component-class` it defeats the purpose of using scoped CSS all together, possible causing naming collision and applying styles where it shouldn't. | 2022-10-11T01:10:04 | 2022-10-11T01:10:04 | {} | NONE |
vuejs | core | 1,274,134,450 | 6,848 | LinusBorg | both can go into the setup block though. | 2022-10-11T06:11:25 | 2022-10-11T06:11:25 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,275,719,880 | 6,843 | antfu | Can you add some tests to it? Thanks | 2022-10-12T07:34:23 | 2022-10-12T07:34:23 | {} | MEMBER |
vuejs | core | 1,277,092,953 | 6,867 | shawn-m-tech | > My suggestion is that you can set the default value of prosp in MyComponent to false so that you don't need to pass is-some-bool= "false".
Good point.
What if the default in the component should be true though? | 2022-10-13T06:27:34 | 2022-10-13T06:27:34 | {} | NONE |
vuejs | core | 1,277,922,018 | 6,867 | shawn-m-tech | > I don't think we will add another Template API for this as the mentioned approaches should be enough to cover this in the usual scenarios.
Alright, I'll close it | 2022-10-13T17:05:13 | 2022-10-13T17:05:13 | {} | NONE |
vuejs | core | 1,278,755,462 | 6,882 | GDGHD-123 | > > > typescript-eslint/recommend-require-type-check
> > > 好吧,我项目中确实没有使用到该插件....
>
> 你可以试下在你项目使用这个插件 看看会不会有问题
这个插件怎么使用的,我可能还得查看下文档 | 2022-10-14T09:41:34 | 2022-10-14T09:41:34 | {} | NONE |
vuejs | core | 863,052,084 | 3,969 | posva | Thank you but there are already a few open PRs for this: https://github.com/vuejs/vue-next/pull/2758 https://github.com/vuejs/vue-next/pull/2589 | 2021-06-17T08:43:01 | 2022-10-08T16:38:42 | {} | MEMBER |
vuejs | core | 1,272,453,639 | 6,838 | Dunqing | > I think it's caused by conflicting with reactivity transform.
Yes, if the current scope contains a `$` variable, the `$` reactivity transform is skipped.
Another case:
https://sfc.vuejs.org/#eNp9j81qw0AMhF9FiBxsiHfvxgn0PfaSumrq4P1BktPD4nevtimltNDbzmjmW6niUynuvhGOOMnMS1EQ0q2cQ5pzEoUDnKDr4XSGuof0cPNKbs3X7tD1fUi... | 2022-10-09T04:37:22 | 2022-10-09T04:37:22 | {} | CONTRIBUTOR |
vuejs | core | 1,273,020,744 | 5,463 | Rachael0108 | 大佬这个问题解决了吗 | 2022-10-10T09:17:24 | 2022-10-10T09:17:24 | {} | NONE |
vuejs | core | 1,273,247,931 | 3,969 | posva | You were right! but it also should be stricter 😄
I’m reviewing on the phone so I can’t do much code but I will give it a proper review with help later | 2022-10-10T12:34:57 | 2022-10-10T12:34:57 | {} | MEMBER |
vuejs | core | 1,274,069,626 | 6,851 | zhangzhonghe | It should be caused by the change [here.](https://github.com/vuejs/core/commit/fc5bdb36ed429d6c3c956f373206ce75467adaf3)
https://github.com/vuejs/core/blob/fc5bdb36ed429d6c3c956f373206ce75467adaf3/packages/runtime-core/src/vnode.ts#L738-L744
see #6591 | 2022-10-11T04:25:55 | 2022-10-11T04:25:55 | {} | MEMBER |
vuejs | core | 1,276,276,619 | 5,721 | zhenzhenChange | This issue was raised a long time ago, only then was turned to are only discussed in the docs (https://github.com/vuejs/docs/issues/1154), but now since it has been solved, I thought of linking to leave a historical record. | 2022-10-12T14:30:31 | 2022-10-12T14:31:30 | {} | NONE |
vuejs | core | 1,276,644,104 | 6,564 | Ryokusitai | @joaovinicius
I'm sorry, my explanation was not good.
It's the input element that doesn't work properly The div element works correctly.
It is correct that the text of the input element is also "Joseph".
; ts校验会报错Unsafe assignment of an `any` value。调用MyModal里面的方法 modal1.value?.open() lint也是会报any的错,但里面open方法的类型是获取成功的。 | 2022-10-14T09:22:29 | 2022-10-14T09:25:55 | {} | NONE |
vuejs | core | 1,278,828,780 | 6,833 | SuzumiyaHaku | I think you need the [v-memo](https://vuejs.org/api/built-in-directives.html#v-memo) directive.
```vue
<template>
<h1>{{ counter }}</h1>
<Comp v-memo="[showHeader]">
<template v-if="showHeader" #header>
Header here
</template>
</Comp>
</template>
``` | 2022-10-14T10:36:56 | 2022-10-14T10:36:56 | {
"+1": 3
} | NONE |
vuejs | core | 1,236,963,718 | 4,745 | vaban-ru | > > Is there any way to disable the warning? We are upgrading an exiting project from Vue 2x to Vue 3. Due to technical reasons out of scope to explain here, we have +12000 lines of scss nested under a single ::v-deep { .. }. It's not an alternative for us to wrap every single class in a :deep(..)
>
> @yyx990803 we ... | 2022-09-05T12:42:46 | 2022-09-05T13:06:18 | {} | NONE |
vuejs | core | 1,237,634,767 | 4,745 | serialine | It would be nice to have a migration guide or conversion script | 2022-09-06T04:05:47 | 2022-09-06T04:05:47 | {} | NONE |
vuejs | core | 1,238,804,054 | 6,613 | libbGit | my @vue/runtime-core is v3.2.38 | 2022-09-07T01:22:29 | 2022-09-07T01:22:29 | {} | NONE |
vuejs | core | 1,238,842,103 | 4,605 | gyhyfj | same problem | 2022-09-07T02:38:53 | 2022-09-07T02:38:53 | {} | NONE |
vuejs | core | 1,240,100,434 | 6,616 | edison1105 | see https://html.spec.whatwg.org/multipage/input.html#the-size-attribute
> The [size](https://html.spec.whatwg.org/multipage/input.html#attr-input-size) attribute, if specified, must have a value that is a [valid non-negative integer](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-non-negativ... | 2022-09-08T01:12:18 | 2022-09-08T01:12:18 | {} | MEMBER |
vuejs | core | 1,240,909,205 | 6,628 | LinusBorg | you can only use the $ref() compiler hint to declare a variable. So yes, the correct way to handle this is to do `b = a`. The whole point of $ref() is to be able to do `b = a` instead of having to write `b.value = a`.
The problem you seem to be having is with the types. However your reproduction does not show that.... | 2022-09-08T15:55:16 | 2022-09-08T15:55:16 | {} | MEMBER |
vuejs | core | 1,242,649,202 | 6,612 | posva | Please don’t send zips for reproductions. Host it on GitHub | 2022-09-10T06:48:58 | 2022-09-10T06:48:58 | {} | MEMBER |
vuejs | core | 1,242,898,030 | 6,633 | Dedicatus546 | for me, it think it violate programming intuition.
i think you will use slot in component which user can import it directly.
if user doesn't use slot, innerComp will render. if user use slot, that he can decide component which he want to render in this position.
```js
// InnerComp.vue
export default {
ren... | 2022-09-11T06:33:44 | 2022-09-11T06:54:05 | {} | NONE |
vuejs | core | 1,236,758,248 | 5,078 | zhenzhenChange | https://github.com/vuejs/core/pull/2616 | 2022-09-05T09:28:18 | 2022-09-05T09:28:18 | {} | NONE |
vuejs | core | 1,237,812,440 | 6,610 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 83b49c2acbae28021cca471ecba60ccb171d63e3 |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-09-06T08:16:48 | 2022-09-06T08:16:48 | {} | NONE |
vuejs | core | 1,238,128,726 | 4,294 | kbbdy | Maybe it's silly solution, but adding not fully working plugins to vite is not an option for me. So in meantime until Vue 3.3 will be ready I just define types used in props in component and export them. Then this type is imported in `types.ts` and reexported. This way I still import all types elsewhere from 'types.ts'... | 2022-09-06T13:09:08 | 2022-09-06T13:09:08 | {
"+1": 10
} | NONE |
vuejs | core | 1,239,035,160 | 6,609 | tazyong | @LinusBorg like this, [example](https://arco-vue-playground.netlify.app?arco=latest&vue=latest#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBsYW5nPVwidHNcIj5cbmltcG9ydCB7IE1lc3NhZ2UgfSBmcm9tICdAYXJjby1kZXNpZ24vd2ViLXZ1ZSdcbmltcG9ydCB7IHJlZiwgd2F0Y2ggfSBmcm9tICd2dWUnXG5cbmNvbnN0IHJ1bkNvdW50ID0gcmVmKDApXG5cbmNvbnN0IGFjdGl2ZSA9IHJlZ... | 2022-09-07T07:49:57 | 2022-09-07T07:49:57 | {} | NONE |
vuejs | core | 1,239,506,586 | 6,610 | Kadeluxe | This issue is a blocker for practically any custom elements development using Vue. What could be done to help fixing / merging this? Original issue is 1 year old at this point. | 2022-09-07T14:59:42 | 2022-09-07T14:59:42 | {
"+1": 14
} | NONE |
vuejs | core | 1,242,376,035 | 6,637 | skirtles-code | Playground reproduction:
<https://sfc.vuejs.org/#__SSR__eNqVkE1OwzAQha9izbqxFdhFphIbOACV2HgT8IBdxT+y3WRRReIQnJCTMA4UEAhoJS/Gb973NHp7uIyRjzuEDmRBF4e+4Fp5xqRpme5L30yGpBHThYLDqGC9MTYzejmwCW3SXArTvoHajn+R1fO/q2UvT8/sOgQtBVmPpM4W6qbYYTiZPV/Y283VJ3SYpPioBlZgXQypNK6PfJuDp+b21azeF1lBxxalalRt/SswpcTcCZEf7mvf28xDehQ08bTzxTrkm... | 2022-09-09T19:23:18 | 2022-09-09T19:23:18 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 1,242,649,894 | 6,604 | posva | Duplicate of https://github.com/vuejs/core/pull/4339 and the linked RFC | 2022-09-10T06:51:41 | 2022-09-10T06:51:41 | {} | MEMBER |
vuejs | core | 1,240,132,929 | 6,617 | yuanxin518 | [playground](https://sfc.vuejs.org/#eNp9j81OwzAQhF9l8SUgNbFUJA5RWpUbb8DFl/xsSsB/Wq/LIcq7YxOESoEed2Y0384sHr2vThFFLZrQ0+QZAnL0e2Un4x0xzEA4wgIjOQNFihbKKts7GxhMOMIu+7fFE2rt4NmRHm6KO2UbudalonQwGq9bxnQBNF1kdhbqYQptp3HYKTG2OqASe7RZaeQa+TfOFP9MN/KbJDZiXVCa1levwdm0cc6F6ssIStTwqWQtLcu3Ei/MPtRSRuvfjlXvjDwkT1K0PBksB2cO99W22j7I9BCf... | 2022-09-08T02:09:37 | 2022-09-08T02:09:37 | {} | NONE |
vuejs | core | 1,240,907,846 | 6,309 | micheal-parks | @einavk We've only noticed this with custom elements with constant string attributes, but this issue is hard to replicate or anticipate a root cause so we're not sure if it affects vue binded props. I'll update this thread if I notice anything else.
This is beginning to affect our app pretty badly, so for now we're ... | 2022-09-08T15:54:07 | 2022-09-08T15:54:07 | {} | NONE |
vuejs | core | 1,240,918,800 | 6,628 | muchenfine | ```
export const useHooks = <T>(data: T) => {
const initData = data;
let data = $ref(initData );
const reset = ()=>{
data = initData
}
return $$({
data
});
};
```
Cannot assign type 'T' to type 'RefValue<UnwrapRef<T>>'
@LinusBorg Looking forward to your help.
| 2022-09-08T16:03:16 | 2022-09-08T16:03:31 | {} | NONE |
vuejs | core | 1,241,522,902 | 6,628 | LinusBorg | Yes, you are passing an object, just as in my example. And the problem is that this object could potentially *contain* a ref, because your generic argument `T` would allow that. | 2022-09-09T05:44:33 | 2022-09-09T05:44:46 | {} | MEMBER |
vuejs | core | 1,241,767,687 | 6,617 | edison1105 | @Circkoooooo
see [sfc](https://sfc.vuejs.org/#eNrtUctKxDAU/ZVrNlWYJjCCi9Ip484/cJNN29yO1bxIbuui9N9NpiLjCPoDbi6cB+fAPQt79J7PE7KK1bEPoyeISJNvpB2Nd4FggYADrDAEZ6BI1kJaaXtnI4GJJzhk/bZ4Qq0dPLug1U1xJ20ttrgUlACh8bolTAig7iYiZ6FSY2w7jeog2dDqiJI1aDNTi82y2dU4N7XI9x/+AfPfv37NdmzbsDSt56/R2bTycrZ9ClGyCs5M5tK2GUv2QuRjJcRk/duJ986IY9JE... | 2022-09-09T10:01:22 | 2022-09-09T10:01:22 | {} | MEMBER |
vuejs | core | 1,242,591,901 | 4,339 | hezhongfeng | 可以的,Vue2.x 就可以 vue-page-stack | 2022-09-10T01:49:29 | 2022-09-10T01:49:29 | {} | NONE |
vuejs | core | 1,238,803,650 | 6,613 | libbGit | i encounter this Issue too, how to fix it? | 2022-09-07T01:21:42 | 2022-09-07T01:21:42 | {} | NONE |
vuejs | core | 1,240,224,764 | 6,271 | slothvips | 自己去修改创建的`dom`,`vue`不会去感知,应该遵循数据驱动的开发模式来创建`dom` | 2022-09-08T05:04:52 | 2022-09-08T05:04:52 | {} | NONE |
vuejs | core | 1,241,053,508 | 6,007 | b-d-k | @LinusBorg "Not feasible" was perhaps a bit of a strong statement. The form fields are rendered through a library in a Python/Django system, and it would require some research time to find out how to add the custom properties `^value`, `^selected`, and `^checked`.
Since our resources are limited and this is a temporar... | 2022-09-08T18:03:05 | 2022-09-08T18:03:05 | {} | NONE |
vuejs | core | 1,241,200,153 | 6,309 | micheal-parks | Some additional info: we've discovered that attaching event listeners to custom elements causes this problem to go away. So for now we've added the following hack for each custom element that has this rendering issue:
```html
<custom-element
@mouseenter="() => { /* no-op */ }"
/> | 2022-09-08T20:28:09 | 2022-09-08T20:28:09 | {} | NONE |
vuejs | core | 1,242,746,605 | 6,639 | DaniilIsupov | I get a similar error
It started with updating `vue` to `3.2.38` version
**IMPORTANT**: reproduced only with `ssr` | 2022-09-10T14:55:42 | 2022-09-10T14:55:42 | {} | NONE |
vuejs | core | 1,237,600,129 | 6,608 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | f403d8a95a11e5dc9f2193ff44e206a193418bfb |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-09-06T02:47:29 | 2022-09-06T02:54:21 | {} | NONE |
vuejs | core | 1,240,138,214 | 6,506 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 6b29ccf9ae5b5e7ba180f60558f07855794ab50a |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-09-08T02:19:02 | 2022-09-08T02:19:02 | {} | NONE |
vuejs | core | 1,241,214,642 | 6,628 | LinusBorg | This is a more general caveat with generics and refs, and not directly related to the $ref() compiler hint. We need to cover this in the docs. Hold on tight, it gets complicated.
You also used the identifier `data` for both the function parameter and a local variable, so here's a cleaned up version, still having the... | 2022-09-08T20:44:17 | 2022-09-08T20:44:17 | {} | MEMBER |
vuejs | core | 1,242,600,355 | 6,222 | Shadows-kk | 一个笨拙的解决办法,将报错的.vue文件当成一个组件,然后新建一个index.vue引入这个组件。 | 2022-09-10T02:43:52 | 2022-09-10T02:43:52 | {} | NONE |
vuejs | core | 1,236,998,320 | 4,745 | adamxi | I managed to fix it by wrapping it all in ":deep()"
> > Is there any way to disable the warning? We are upgrading an exiting project from Vue 2x to Vue 3. Due to technical reasons out of scope to explain here, we have +12000 lines of scss nested under a single ::v-deep { .. }. It's not an alternative for us to w... | 2022-09-05T13:07:41 | 2022-09-05T13:07:41 | {} | NONE |
vuejs | core | 1,236,302,876 | 6,594 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 9d2cb2865ae9b640560a504e8be946cce7b603a4 |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-09-04T10:04:48 | 2022-09-06T01:54:23 | {} | NONE |
vuejs | core | 1,237,662,316 | 6,591 | moushicheng | This does not seem to be < component /> problem
using v-if,there will still be memory leaks,
see here:
[SFC Playground](https://sfc.vuejs.org/#eNp9Uk1PwzAM/StRLoC0Jh0TEpraMQ7cOSBOuXRdWsKaDyVup6nqf8dZxz4Ft9jPfs9+Tk9fnWNdK+mcZqH0ygFpClPngkIQlAQJrVsIo7SzHkhPvKzIQCpvNbnDtrsj9KYd7N6LWh5Axo+ZyI+FpTUBSNn6HEnu0wdhqtaUoKwhYO... | 2022-09-06T05:03:57 | 2022-09-06T05:03:57 | {
"+1": 5
} | CONTRIBUTOR |
vuejs | core | 1,238,325,728 | 6,609 | LinusBorg | When I run this SFC playground reproduction and enter "a" into the input, I get 2 alerts - one from the watch, one from the onUpdated() hook.
Both are expected. I don't see multiple watcher calls, I don't see anything else supsicious. What should I be looking for?
Those of you who say they can reproduce this: wh... | 2022-09-06T15:41:34 | 2022-09-06T15:43:34 | {} | MEMBER |
vuejs | core | 1,238,875,905 | 5,670 | flashingcursor | Watching and waiting... | 2022-09-07T03:51:03 | 2022-09-07T03:51:03 | {
"eyes": 1,
"laugh": 3
} | NONE |
vuejs | core | 1,239,047,758 | 6,609 | vaas1993 | > @LinusBorg like this, [example](https://arco-vue-playground.netlify.app?arco=latest&vue=latest#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBsYW5nPVwidHNcIj5cbmltcG9ydCB7IE1lc3NhZ2UgfSBmcm9tICdAYXJjby1kZXNpZ24vd2ViLXZ1ZSdcbmltcG9ydCB7IHJlZiwgd2F0Y2ggfSBmcm9tICd2dWUnXG5cbmNvbnN0IHJ1bkNvdW50ID0gcmVmKDApXG5cbmNvbnN0IGFjdGl2ZSA9IHJ... | 2022-09-07T08:02:34 | 2022-09-07T08:02:34 | {} | NONE |
vuejs | core | 1,241,709,373 | 4,339 | chenhaihong | @hezhongfeng 还是得用keep-alive。现在提供的api也不能让你不用keep-alive就去操作组件缓存。 | 2022-09-09T09:07:17 | 2022-09-09T09:07:17 | {} | NONE |
vuejs | core | 1,242,755,927 | 6,639 | DaniilIsupov | I think it's related commit https://github.com/vuejs/core/commit/00036bb52c4e641b2be7fa55c39ced9448163b0f | 2022-09-10T15:40:13 | 2022-09-10T15:40:13 | {} | NONE |
vuejs | core | 1,242,764,536 | 6,573 | awhill19 | > I saw this through the following nuxt issue: [nuxt/framework#7296](https://github.com/nuxt/framework/discussions/7296) I had some comments there, but I think there's a core issue in
>
> `function invokeDirectiveHook(vnode, prevVNode, instance, name)` It assumes vnode and prevVNode have the same number of "dirs". I... | 2022-09-10T16:37:38 | 2022-09-10T16:40:40 | {
"+1": 3
} | NONE |
vuejs | core | 1,236,710,762 | 4,443 | krausvo1 | Related to https://github.com/vuejs/core/issues/6573. Minimal reproduciton example can also be found in this issue https://github.com/vuetifyjs/vuetify/issues/15724. | 2022-09-05T08:45:11 | 2022-09-05T08:45:11 | {
"+1": 1
} | NONE |
vuejs | core | 1,237,859,454 | 6,609 | vaas1993 | 我也发现这个问题了,过来github找解决办法。。。3.2.26已经存在这个问题 | 2022-09-06T08:56:07 | 2022-09-06T08:57:33 | {} | NONE |
vuejs | core | 1,242,744,402 | 5,781 | EzeFSpa | Any news with this? we need to see if #5767 is related to this | 2022-09-10T14:41:30 | 2022-09-10T14:41:30 | {} | NONE |
vuejs | core | 1,242,890,264 | 6,644 | Dedicatus546 | maybe we can use `InstanceType<typeof Comp>` to get instance type, but it expose many properties that we don't need.

| 2022-09-11T05:26:46 | 2022-09-11T05:26:46 | {} | NONE |
vuejs | core | 1,237,597,009 | 4,968 | diegoazh | > Until this is supported, use `import type { Ref } from 'vue'`
I have problems with that syntax too
<img width="391" alt="Screen Shot 2022-09-05 at 23 34 15" src="https://user-images.githubusercontent.com/10166935/188535463-0ccc8acf-a09d-470b-a332-82efabc1d185.png">
## UPDATE
I solve it using `lang="ts"` on ... | 2022-09-06T02:39:59 | 2022-09-06T05:38:14 | {} | NONE |
vuejs | core | 1,236,844,484 | 5,022 | mylemans | Same issue still @ primevue, it cannot see '$primevue' and has to be exposed again per-sfc file ... | 2022-09-05T10:53:53 | 2022-09-05T10:53:53 | {} | NONE |
vuejs | core | 1,237,008,669 | 4,745 | vaban-ru | >
When I do as you suggested I get an error in the IDE

| 2022-09-05T13:14:51 | 2022-09-05T13:14:51 | {
"+1": 1
} | NONE |
vuejs | core | 1,237,770,014 | 5,697 | Erica-lyj | >
也不可以.... | 2022-09-06T07:35:35 | 2022-09-06T07:35:35 | {} | NONE |
vuejs | core | 1,240,129,962 | 6,608 | yyx990803 | These conditions are intentional for dropping unused code in production build. | 2022-09-08T02:03:56 | 2022-09-08T02:03:56 | {} | MEMBER |
vuejs | core | 1,241,535,009 | 6,222 | poerlang | 同样的报错,chrome 版本是 100 | 2022-09-09T06:04:11 | 2022-09-09T06:04:11 | {} | NONE |
vuejs | core | 1,242,649,132 | 6,612 | posva | Duplicate of #6222 | 2022-09-10T06:48:36 | 2022-09-10T06:48:36 | {} | MEMBER |
vuejs | core | 1,236,614,368 | 6,599 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | f1e1a95f6923e482f7ccee4533432ac095d3a042 |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-09-05T07:04:27 | 2022-09-05T07:04:27 | {} | NONE |
vuejs | core | 1,237,600,719 | 6,608 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 0d91c87b8445db05ba1cf7f5aac6cacc640bced6 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-09-06T02:48:54 | 2022-09-06T02:54:37 | {} | NONE |
vuejs | core | 1,237,623,712 | 6,609 | Jackllllll | U provided [the minimal reproduction](https://sfc.vuejs.org/#eNqlUsFu00AQ/ZXRXuxIiVdtbiGpqBA3LiA4sRyMM25d7N1ld52oiiyBVAQVXLmgHlqpwAX+IPwNScupv8CsHUehqAipUSx5Zt88z3v7ZmxX62hSIhuwoU1Mph1YdKXeETIrtDIOZmAw7cI0dsl+V8knehw7HEMFqVEFBDQbrLH3VKFX/Yj7wlMHd4Rcz4VhZ7QDMyEB4hyNC7e3O3RedYRMS5m4TEnYQ0f/sLMJ6/cJAcD58vv54vzo18mryy+vF/O... | 2022-09-06T03:39:11 | 2022-09-06T03:39:11 | {} | NONE |
vuejs | core | 1,238,230,885 | 6,609 | yanni4night | Same issue, pre watcher triggered 2 times | 2022-09-06T14:28:07 | 2022-09-06T14:28:07 | {} | NONE |
vuejs | core | 1,239,710,937 | 6,608 | dsonet | I think that's more about optimizing runtime performance. | 2022-09-07T18:02:58 | 2022-09-07T18:02:58 | {} | CONTRIBUTOR |
vuejs | core | 1,242,650,983 | 6,587 | posva | Just use `.parent-class .component-class`
——
Please, next time consider using the [forum](http://forum.vuejs.org/), the [Discord server](https://chat.vuejs.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js) for questions first. But feel free to come back and open an issue if it turns out to be a bug �... | 2022-09-10T06:56:28 | 2022-09-10T06:56:28 | {
"confused": 1
} | MEMBER |
vuejs | core | 1,242,898,532 | 6,643 | WalkAlone0325 | thanks. | 2022-09-11T06:37:15 | 2022-09-11T06:37:15 | {} | CONTRIBUTOR |
vuejs | core | 1,236,649,193 | 1,503 | minseolee | Same issue has occurred while upgrading vue 2.6 -> 2.7.
And it has solved with this solution. Thanks a lot!
Below is my vue.config.js, hope to help to someone.
```
module.exports: {
...
configureWebpack: {
...
resolve: {
alias: {
...
vue: pa... | 2022-09-05T07:42:19 | 2022-09-05T07:42:19 | {
"hooray": 1
} | NONE |
vuejs | core | 1,236,778,774 | 6,604 | edison1105 | see https://github.com/vuejs/core/pull/4339 | 2022-09-05T09:46:46 | 2022-09-05T09:46:46 | {} | MEMBER |
vuejs | core | 1,236,954,464 | 6,606 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | f69119d72bb01e6c7ae92b5f694178780622f657 |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-09-05T12:36:26 | 2022-09-05T13:17:03 | {} | NONE |
vuejs | core | 1,238,334,804 | 6,611 | LinusBorg | looks like you bundled Vue into the /public/lib.js file. That means you now have two copies of Vue in your app that conflict.
solution: libraries should always externalize dependencies like Vue.
See an example config here: https://vitejs.dev/guide/build.html#library-mode
| 2022-09-06T15:49:08 | 2022-09-06T15:49:08 | {} | MEMBER |
vuejs | core | 1,239,060,970 | 6,609 | LinusBorg | Seems #6614 successfully demonstrates the issue with Vue alone. Closing in favor of that issue | 2022-09-07T08:15:05 | 2022-09-07T08:15:05 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.