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,441,799,794 | 3,671 | rubebop | > https://github.com/vuejs/core/issues/3671#issuecomment-1441575529
I realized, that in my case I was "double"-importing the Composition API, since it is already included in Vuejs 2.7.0 and yet I was importing it again in my 'main' script like this:
````
import VueCompositionAPI from '@vue/composition-api'
Vue.us... | 2023-02-23T13:30:31 | 2023-02-23T13:37:10 | {
"+1": 2
} | NONE |
vuejs | core | 1,445,659,567 | 7,797 | snowwolfjay | and looks like when compute is a boolean or number ref, it works as expected, but when it's an array , it broke | 2023-02-27T03:59:05 | 2023-02-27T03:59:05 | {} | NONE |
vuejs | core | 1,445,802,533 | 7,797 | LinusBorg | I dont see a bug. The composable returns a non-reactive object, whose properties are not unwrapped in the template. While I'm aware this can trip people up, this is documented, expwcted behavior | 2023-02-27T06:59:20 | 2023-02-27T06:59:20 | {} | MEMBER |
vuejs | core | 1,445,888,299 | 7,792 | 1boch1 | @skirtles-code @edison1105 Thanks, but the problem seems to be present testing the code I posted (at least on my machine), why? | 2023-02-27T08:15:02 | 2023-02-27T08:15:02 | {} | NONE |
vuejs | core | 1,445,901,744 | 7,218 | xieyuheng | I care about this feature, because I recently taught a friend frontend programming.
- [Our repo](https://github.com/xieyuheng/learn-x/tree/f69985e88173857103809d589818bb3ea404ab73/learn-alpinejs/notepad).
He know a little js, but almost had no experience about html, css and reactive programming.
We used alpine... | 2023-02-27T08:25:49 | 2023-02-27T08:25:49 | {} | NONE |
vuejs | core | 1,446,007,727 | 7,787 | starcsb | I can get parameter of customEvent by `e.detail` instead of `e.detail[0]` with this api, it is greatly helpful for using web component built by vue. | 2023-02-27T09:39:44 | 2023-02-27T09:40:52 | {
"+1": 1
} | NONE |
vuejs | core | 1,446,574,298 | 7,800 | baiwusanyu-c | I don't think this is a bug. In fact, the hydration process happens between `onBeforeMount` and `onMounted`. So when you modify variables in `onBeforeMount`, it will cause a mismatch between vnode and dom, resulting in hydration failure, so I It is recommended not to modify variables until hydration is complete. | 2023-02-27T15:49:38 | 2023-02-27T15:52:42 | {} | MEMBER |
vuejs | core | 1,449,518,345 | 7,805 | baiwusanyu-c | [playground](https://sfc.vuejs.org/#eNp9kDFPxDAMhf+KlaWtdJfu5VqJhRUk1iyl9ZWcWifYyVWnqv+dBBgQSLfZz9bn97ypR+/1NaJq1EkGtj6AYIge5p6m1qggRnWGDA2OxM2oZzeVxXP0orUuKkMjni3hCzsv5WYIwKeygS3cPDbwGtjSdADGj2gZxwYCR9wN7dWDoXK1NLoVeoGebpUOKOEp0gAtlBW0HRQZJkW+f6q/7XXqoOziHYfj0nt9EUfJ+9dl8zNIlpOBrGQthcu9Ue8heGnqWs5DTnwR7XiqU6U5UrALapTl... | 2023-03-01T08:02:43 | 2023-03-01T09:04:51 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,449,817,324 | 5,386 | BenceSzalai | Now the terminology is hard to get right, because obviously existing names should be kept, also the same things may have different name from Component lifecycle perspective, documentation, developer experience representation etc.
Anyway here's my take on trying to collect my thoughts:
| Aspect removed/disabled ... | 2023-03-01T10:29:45 | 2023-03-01T10:51:45 | {} | NONE |
vuejs | core | 1,443,613,403 | 7,291 | ListeningRift | > ### Cause
> The click handler on the child gets a new inline function on every parent re-render, causing every child to update:
>
> ```js
> const _item = (_openBlock(), _createBlock(Item, {
> key: i,
> isSpread: i.age,
> onClick: $event => (ageUp(index)) // <-- this ca... | 2023-02-24T12:23:23 | 2023-02-24T12:23:23 | {} | NONE |
vuejs | core | 1,445,928,673 | 7,218 | edison1105 | @xieyuheng
I'm not sure when will merge, sorry~
It needs to be discussed by the core team.
| 2023-02-27T08:50:08 | 2023-02-27T08:50:08 | {} | MEMBER |
vuejs | core | 1,445,931,238 | 7,797 | edison1105 | Agreed. | 2023-02-27T08:52:24 | 2023-02-27T08:52:24 | {} | MEMBER |
vuejs | core | 1,450,077,338 | 7,810 | yangxiuxiu1115 | I think the first are not necessary | 2023-03-01T12:34:42 | 2023-03-01T12:36:21 | {} | CONTRIBUTOR |
vuejs | core | 1,441,254,496 | 5,195 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4249898064)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4249898064/jobs/7390480242) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42498980... | 2023-02-23T06:06:38 | 2023-02-23T06:13:09 | {} | CONTRIBUTOR |
vuejs | core | 1,441,595,883 | 7,716 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4252118465)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4252118465/jobs/7395310836) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42521184... | 2023-02-23T11:26:26 | 2023-02-23T11:33:00 | {} | CONTRIBUTOR |
vuejs | core | 1,442,075,520 | 6,463 | joel-wenzel | Same issue for me with Nuxt 3.1.1.
Changing line 35 of @vue/runtime-dom `runtime-dom.esm-bundler.js` to
`parentNode: node => node ? node.parentNode : null,` seems to fix the issue though I am not sure what downstream effects this could have. | 2023-02-23T16:29:50 | 2023-02-23T16:32:32 | {
"+1": 6
} | NONE |
vuejs | core | 1,445,187,519 | 7,408 | swolfish | You saved my life! :heart: | 2023-02-25T19:26:36 | 2023-02-25T19:26:36 | {
"laugh": 1
} | NONE |
vuejs | core | 1,445,853,621 | 7,797 | edison1105 | @LinusBorg
This is because `test.okList` is compiled to `unref(test).okList`, I feel it should be `unref(test.okList)`. | 2023-02-27T07:48:58 | 2023-02-27T07:48:58 | {} | MEMBER |
vuejs | core | 1,449,240,538 | 3,044 | skirtles-code | `isShallow()` was added in <https://github.com/vuejs/core/commit/9fda9411ec92dc703288b229106116dd0f16e5e7>. It has been available since 3.2.28. | 2023-03-01T02:32:07 | 2023-03-01T02:32:07 | {} | CONTRIBUTOR |
vuejs | core | 1,449,649,119 | 5,386 | BenceSzalai | > I would rather say it's similar to v-show, but it won't stay in the DOM tree which means there will be less DOM manipulation
That is a good point. Thanks!
If I look from this perspective than I can see these activity levels a component in theory could be in:
| Level | Component state | Calculated, Watch etc... | 2023-03-01T09:13:21 | 2023-03-01T10:49:24 | {
"+1": 1,
"eyes": 2
} | NONE |
vuejs | core | 1,441,593,520 | 7,245 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4252107196)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4252107196/jobs/7395286625) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42521071... | 2023-02-23T11:25:02 | 2023-02-23T11:33:22 | {} | CONTRIBUTOR |
vuejs | core | 1,441,619,563 | 7,750 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4252256049)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4252256049/jobs/7395609489) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42522560... | 2023-02-23T11:44:31 | 2023-02-23T11:52:45 | {} | CONTRIBUTOR |
vuejs | core | 1,445,360,161 | 7,789 | edison1105 | It is inconsistent with vue2, see https://codesandbox.io/s/beautiful-tom-6zem3d?file=/src/App.vue | 2023-02-26T13:18:23 | 2023-02-26T13:18:23 | {} | MEMBER |
vuejs | core | 1,445,835,741 | 7,790 | mediafreakch | @LinusBorg Thank you for this. Works like a charm!
For iternity, the suggested way to store something on the vue instance (non-reactive) is to use a WeakMap() as cache like that:
```ts
import type { ComponentPublicInstance } from 'vue'
import * as Highcharts from 'highcharts'
const cache = new WeakMap<Comp... | 2023-02-27T07:29:08 | 2023-02-27T07:37:01 | {} | NONE |
vuejs | core | 1,447,800,650 | 7,801 | baiwusanyu-c | you should use this
`import vueJsx from '@vitejs/plugin-vue-jsx'` | 2023-02-28T08:55:36 | 2023-02-28T08:55:36 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,448,257,628 | 7,800 | skirtles-code | I've created a similar example in the SFC Playground:
[SFC Playground](https://sfc.vuejs.org/#__SSR__eNp9UMFqwzAM/RXh0watTa9ZOtgH7LajL26iLCmJbSSl6yj59ylps40NCsboSXpP0ruYl5ztaURTmJIr6rI8+4jnnEigxiaMvcDFR4A6SHh4vMYAhDJShAtQAU3oGWGaC9Nm/g/YJMLXNEb5YUjbsSXYg9CIS6+P+kr3PVWB4JD7IKgIoGx3UFR9YN57o5OwLoCUZpYqwBueZelz7U5TpfvF... | 2023-02-28T14:17:02 | 2023-02-28T14:17:02 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 1,317,143,863 | 7,150 | sxzz | As the docs mentioned, for the object type, it's good to provide the function to generate the default value (`{ type: Object, default: () => ({ foo: 'foo' }) }`). But this feature is for `Array` and `Object` only, not for functions.
For a function default value, it's impossible to figure out if it's exactly the valu... | 2022-11-16T14:51:16 | 2023-02-22T20:00:29 | {
"+1": 4
} | MEMBER |
vuejs | core | 1,441,453,073 | 7,766 | LinusBorg | This is not really related to Typescript per se, but rather to the compat version of `Vue.extend()`, which does not get handled properly in the compat code of `h()`.
Should be a straightforward fix. | 2023-02-23T09:39:12 | 2023-02-23T09:39:12 | {} | MEMBER |
vuejs | core | 1,441,589,689 | 7,743 | sxzz | /ecosystem-ci run | 2023-02-23T11:22:03 | 2023-02-23T11:22:03 | {} | MEMBER |
vuejs | core | 1,441,595,196 | 7,716 | sxzz | /ecosystem-ci run | 2023-02-23T11:26:01 | 2023-02-23T11:26:01 | {} | MEMBER |
vuejs | core | 1,441,953,290 | 7,451 | posva | I also think it's worth giving functions like the callback passed to `router.beforeEach()` and the setup function in pinia a name that can be found in docs. Something like _inject-aware function/context_. That way, we could have a page in documentation explaining the concept and library authors could mention this as _i... | 2023-02-23T15:11:02 | 2023-02-23T15:11:02 | {
"+1": 3
} | MEMBER |
vuejs | core | 1,442,811,938 | 7,783 | liuseen-l | @sxzz Do you have a minute to review this PR ? THX | 2023-02-24T04:58:33 | 2023-02-24T04:58:33 | {} | CONTRIBUTOR |
vuejs | core | 1,445,188,211 | 7,408 | LinusBorg | How so? 😅 | 2023-02-25T19:31:05 | 2023-02-25T19:31:05 | {} | MEMBER |
vuejs | core | 1,447,555,300 | 7,652 | baiwusanyu-c | > > It's hard to change now, as all users of a Vue web component now already use it like this. So it's a breaking change.
>
> @LinusBorg @baiwusanyu-c I added a new api to implement this function in #7787 , would you please supply some advices?
Adding an API to solve this problem does ensure maximum compatibility... | 2023-02-28T04:22:10 | 2023-02-28T04:22:10 | {} | MEMBER |
vuejs | core | 1,440,658,434 | 7,746 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4246169814)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4246169814/jobs/7382922486) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42461698... | 2023-02-22T19:16:22 | 2023-02-22T19:36:37 | {} | CONTRIBUTOR |
vuejs | core | 1,441,150,673 | 7,780 | JayFate | @sxzz Do you have a minute to review this PR ? THX | 2023-02-23T02:46:39 | 2023-02-23T02:46:39 | {} | CONTRIBUTOR |
vuejs | core | 1,449,459,508 | 6,254 | lvjiaxuan | Found more edge cases to be tested. | 2023-03-01T07:06:10 | 2023-03-01T07:06:10 | {} | NONE |
vuejs | core | 1,449,628,164 | 5,386 | nicolas-t | Hello,
> So I suspect maybe the behavior is intended and not a bug. Let me know if you have different ideas. :-)
Indeed if it's the same behavior as vue 2 then it might be intented,
The problem is other issues showing clearly not expected behaviors have been closed in favor of this issue :
https://github.com/... | 2023-03-01T09:04:13 | 2023-03-01T09:04:13 | {} | NONE |
vuejs | core | 1,131,857,971 | 5,960 | LinusBorg | Why are you doing that in an SFC and not a plain .tsx file?
That's not exactly the usage that's intended and tested against. as it's a violation of the [SFC spec](https://vuejs.org/api/sfc-spec.html#script). | 2022-05-19T15:17:30 | 2022-05-19T15:17:30 | {} | MEMBER |
vuejs | core | 1,132,538,768 | 5,964 | tony19 | Not sure about the `key` issue. I'm wondering if `<template>`'s `key` is supposed to be automatically applied to `<slot>` children. Nothing in the [docs](https://vuejs.org/guide/essentials/list.html#maintaining-state-with-key) suggests the `key` should be manually/explicitly moved to the children, so it might be a Vue ... | 2022-05-20T06:52:57 | 2022-05-20T06:56:52 | {} | CONTRIBUTOR |
vuejs | core | 1,133,517,092 | 5,944 | zhangenming | > Can you explain why it is so fast?
```js
const foo = performance.now;
const bar = ()=>performance.now();
// foo() is fast than bar()
// Because less one(1 VS 2) property access need to find, and use `bind` just for fix `this`
```
> I've come to the exact opposite conclusion in Nodejs than in... | 2022-05-21T03:04:54 | 2022-05-21T03:08:41 | {} | CONTRIBUTOR |
vuejs | core | 1,133,934,079 | 5,983 | liulinboyi | [Example showing this issue](https://sfc.vuejs.org/#__DEV__eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiwgb25Nb3VudGVkIH0gZnJvbSAndnVlJ1xuIC8vIOe0r+WKoOaMiemSrnJlZlxuY29uc3QgYnV0dG9uUmVmID0gcmVmKHt9KVxuXG4gIC8vIOS6i+S7tuebkeWQrOesrOS6jOS4quWPguaVsOS8oOWFpeS4gOS4quaWueazlVxuY2xhc3MgVGVzdENsYXNzMSB7XG5cdGNvbnN0c... | 2022-05-22T16:53:55 | 2022-05-22T16:53:55 | {} | MEMBER |
vuejs | core | 1,136,731,354 | 5,184 | aarie33 | same issue here.
the reason is because of `v-if`, you need to avoid `v-if` and change it to `v-show`
here is the discussion
https://forum.vuejs.org/t/emitsoptions-error-impossible-to-debug/125512/7 | 2022-05-25T05:07:55 | 2022-05-25T05:19:03 | {} | NONE |
vuejs | core | 1,140,166,645 | 6,007 | zhmushan | The fix will not be released soon. There is a temporary solution that may be of interest to you:
```html
<input type="text" ^value="text input value" />
``` | 2022-05-28T04:11:10 | 2022-05-28T04:11:10 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,132,601,577 | 5,965 | liulinboyi | When find the Component, the `input` will get the `Input` Component.
The name will process with `camelize` and `capitalize` to find the Component.
`camelize('input')` will return `input`.
`capitalize(camelize('input'))` will return `Input`
!
I'm really interested in Generic Vue components, and your talk helped me to understand the types better. 🙂 | 2022-05-19T17:17:04 | 2022-05-19T17:17:04 | {} | CONTRIBUTOR |
vuejs | core | 1,132,343,831 | 5,957 | snvtac | > Final update: yes, the update fixed it. 😅
nice | 2022-05-20T01:07:33 | 2022-05-20T01:07:33 | {} | NONE |
vuejs | core | 1,133,041,046 | 5,957 | yyx990803 | The target is now es2019 which should run in Node 12, however note that [Node 12 is now end of life](https://endoflife.date/nodejs) and you should upgrade to 14+ anyway. | 2022-05-20T15:31:24 | 2022-05-20T15:31:24 | {} | MEMBER |
vuejs | core | 1,133,683,459 | 5,778 | Mistrain-y-y | >
hey so how did you solve the problem? i have the same problem. if HTML can not with CSS, i think @vue/server-renderer is useless for me. | 2022-05-21T17:21:08 | 2022-05-21T17:21:08 | {} | NONE |
vuejs | core | 1,131,888,873 | 5,960 | DrJume | > Why are you doing that in an SFC and not a plain .tsx file?
>
> That's not exactly the usage that's intended and tested against. as it's a violation of the [SFC spec](https://vuejs.org/api/sfc-spec.html#script).
Thanks for pointing this out!
Just out of habit... Didn't realise it is discouraged 😮.
I mov... | 2022-05-19T15:43:44 | 2022-05-19T15:44:19 | {} | CONTRIBUTOR |
vuejs | core | 1,133,150,801 | 5,971 | yyx990803 | I can't reproduce this, but can you upgrade to 3.2.35 to see if the issues still exist? | 2022-05-20T17:30:49 | 2022-05-20T17:30:49 | {} | MEMBER |
vuejs | core | 1,134,078,179 | 5,979 | yyx990803 | I simplified to logic to still pass the test.
Note that:
- In the mixins case, the proxy won't be able to mimic the same behavior as objects. Currently it's a simple clone so it won't cover late-applied global mixins for now.
- This actually doesn't fix #5699 - it's a separate bug. See 2f07e346 | 2022-05-23T01:46:30 | 2022-05-23T01:46:30 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,136,858,235 | 6,003 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 3d350e055f1f21a6dd8552f9aed4fca03d0dd979 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-05-25T07:08:58 | 2022-05-25T07:08:58 | {} | NONE |
vuejs | core | 1,137,713,490 | 5,585 | yyx990803 | We decided to revert to Vue 2 behavior since the Vue 3 behavior was undesirable in most cases. The compat entry was also removed. | 2022-05-25T18:48:15 | 2022-05-25T18:48:15 | {} | MEMBER |
vuejs | core | 1,133,869,101 | 5,778 | Mistrain-y-y | fine thanks | 2022-05-22T10:53:25 | 2022-05-22T10:53:25 | {} | NONE |
vuejs | core | 1,134,625,831 | 5,988 | yyx990803 | You are manually calling `defineComponent()`, which makes it look like it has side effects to the bundler. This is unnecessary if you are just defining a component name - just do `export default { name: '...' }`.
Also, since 3.2.24 SFCs using `<script setup>` automatically infers `name` option based on filename so i... | 2022-05-23T12:40:14 | 2022-05-23T12:40:27 | {
"+1": 2,
"eyes": 1
} | MEMBER |
vuejs | core | 1,132,501,595 | 4,294 | zhouhuiquan | Maybe that will be better.
vscode plugin or vite plugin ?
```vue
<script lang="ts" setup>
import { SharedProps } from "./sharedProps.ts";
interface Props extends SharedProps {
// auto copy and paste:
foo: string;
bar?: number;
}
const props = defineProps<Props>(); // The type props.foo can be inferr... | 2022-05-20T05:53:03 | 2022-05-20T06:10:58 | {} | NONE |
vuejs | core | 1,132,641,814 | 5,965 | sqal | This behaviour is intended in vue 3, check- https://github.com/vuejs/core/issues/5236. You can fix this by giving your component different name
```vue
<script>
export default { name: 'UiInput' }
</script>
```
Your example worked on older version of Vue (< 3.2.34) because the compiler did not generate the co... | 2022-05-20T08:43:01 | 2022-05-20T08:52:50 | {
"+1": 2,
"-1": 1
} | CONTRIBUTOR |
vuejs | core | 1,133,874,227 | 5,976 | xiafrog | >
Thank you! It's useful! | 2022-05-22T11:23:38 | 2022-05-22T11:23:38 | {} | NONE |
vuejs | core | 1,134,079,437 | 5,957 | yyx990803 | @alex116 it should already be fixed in 3.2.35, upgrading should make it work. But you should not be using Node 12 in the future anyway. | 2022-05-23T01:48:50 | 2022-05-23T01:48:50 | {} | MEMBER |
vuejs | core | 1,134,092,124 | 5,979 | snoozbuster | oh nice. using the singleton app's context as the prototype makes for a pretty natural solution. looking forward to the release for this! | 2022-05-23T02:13:01 | 2022-05-23T02:13:01 | {} | CONTRIBUTOR |
vuejs | core | 1,134,855,227 | 4,294 | AndreiSoroka | Ha! I found a better solution! And Webstorm is understand it!
```js
function WebpackLoaderVueSFCTypes(source) {
if (!source.includes('export type')) {
return source;
}
return source.replaceAll(
'export type',
'type',
);
}
module.exports = WebpackLoaderVueSFCTypes;
```
Component:... | 2022-05-23T15:57:04 | 2022-05-23T15:57:04 | {} | NONE |
vuejs | core | 1,136,956,316 | 5,585 | kospl | @posva can this be reopened? There is clear reproduction link now in first post.
Since Vue 3 has changed how refs work inside loops (old doc link in Russian): https://v3.ru.vuejs.org/ru/guide/migration/array-refs.html#frontmatter-title
I don't see this mentioned in https://v3-migration.vuejs.org/migration-build.htm... | 2022-05-25T08:34:32 | 2022-05-25T08:34:32 | {} | NONE |
vuejs | core | 1,132,526,545 | 5,964 | yoyo837 | >
Thanks for your help, adding the `key` to the `slot` solved my problem, there's only one lint error left that confuses me. https://github.com/vuejs/eslint-plugin-vue/issues/1900 I disabled the rule to make it works. | 2022-05-20T06:33:37 | 2022-05-20T06:33:37 | {} | NONE |
vuejs | core | 1,132,707,255 | 5,944 | zhmushan | <img width="764" alt="image" src="https://user-images.githubusercontent.com/24505451/169503065-fa9578ec-fa20-4ddd-89c6-eb63ca2a0dc9.png">
| 2022-05-20T09:51:55 | 2022-05-20T09:51:55 | {} | CONTRIBUTOR |
vuejs | core | 1,133,334,554 | 5,972 | netlify[bot] | ### <span aria-hidden="true">👷</span> Deploy request for *vuejs-coverage* pending review.
[Visit the deploys page to approve it](https://app.netlify.com/sites/vuejs-coverage/deploys)
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | bddd8... | 2022-05-20T20:29:23 | 2022-05-20T20:29:23 | {} | NONE |
vuejs | core | 1,133,489,834 | 5,957 | snvtac | > The target is now es2019 which should run in Node 12, however note that [Node 12 is now end of life](https://endoflife.date/nodejs) and you should upgrade to 14+ anyway.
tks
| 2022-05-21T01:06:41 | 2022-05-21T01:06:41 | {} | NONE |
vuejs | core | 1,133,744,323 | 5,778 | khanakia | I used svelte and its compiler worked perfectly for my use case. | 2022-05-21T18:02:47 | 2022-05-21T18:02:47 | {} | NONE |
vuejs | core | 1,139,689,175 | 6,020 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | bfad2ed87987a20b3d3f2223e442617ec1cfa940 |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-05-27T14:46:49 | 2022-05-27T14:46:49 | {} | NONE |
vuejs | core | 1,131,929,910 | 5,960 | DrJume | I tested against older versions of `vue`. The version that introduced this issue seems to be `vue@3.2.34`. | 2022-05-19T16:24:55 | 2022-05-19T16:24:55 | {} | CONTRIBUTOR |
vuejs | core | 1,132,470,951 | 5,964 | tony19 | Moving the `:key` binding from `<template>` to `<slot>` resolves the issue:
```html
<van-loading>
<template v-for="(_, slot) of $slots" v-slot:[slot]="scope">
👇
<slot :name="slot" v-bind="scope" :key="slot" />
</template>
</van-loading>
```
[demo](https://s... | 2022-05-20T04:55:48 | 2022-05-20T04:55:48 | {} | CONTRIBUTOR |
vuejs | core | 1,133,581,815 | 5,974 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e0241dc0303fddd1a4e018f607c2d37086950a63 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-05-21T08:51:04 | 2022-05-21T08:51:04 | {} | NONE |
vuejs | core | 1,134,340,020 | 5,987 | LinusBorg | https://vuejs.org/api/utility-types.html#componentcustomproperties | 2022-05-23T08:18:19 | 2022-05-23T08:18:19 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,136,061,770 | 5,995 | liulinboyi | [Preview](https://deploy-preview-5995--vue-sfc-playground.netlify.app/#__DEV__eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8ZGl2PlxuICAgIDxidXR0b24gQGNsaWNrPVwic2hvd0RhdGEgPSAhc2hvd0RhdGFcIj5Ub2dnbGU8L2J1dHRvbj5cbiAgICA8Q3VzdG9tVHJhbnNpdGlvbj5cbiAgICAgIDxkaXYgdi1pZj1cInNob3dEYXRhXCI+dGVzdDwvZGl2PlxuICAgIDwvQ3VzdG9tVHJhbnNpdGlvbj... | 2022-05-24T15:16:16 | 2022-05-24T15:16:16 | {} | MEMBER |
vuejs | core | 1,136,147,111 | 5,997 | addrrrr | dd | 2022-05-24T16:33:38 | 2022-05-24T16:33:38 | {} | NONE |
vuejs | core | 1,136,636,276 | 5,984 | yyx990803 | This is weird usage because you are using the compiled function inside a custom render function instead of using it directly:
```js
{
render: function(){
let r = Vue.compile(`<div v-for="i in 5"><slot :p1="{index:i}">default</slot></div>`);
return r(this);
}
}
```
I don't know why you are doin... | 2022-05-25T02:10:57 | 2022-05-25T02:10:57 | {
"heart": 2
} | MEMBER |
vuejs | core | 1,138,806,708 | 4,294 | AndreiSoroka | @aislanmaia
hi
for SFC comiler it is not important ([link](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBsYW5nPVwidHNcIiBzZXR1cD5cbmltcG9ydCB7IHJlZiB9IGZyb20gJ3Z1ZSc7XG5pbXBvcnQgdHlwZSBub3RFeGlzdCBmcm9tICdub3RFeGlzdC5kLnRzJztcbiAgXG50eXBlIE15UHJvcHMgPSB7XG4gIGFiczogbm90RXhpc3RbXSxcbn1cbiAgXG5kZWZpbmVQcm9wczx... | 2022-05-26T17:05:15 | 2022-05-26T17:10:03 | {} | NONE |
vuejs | core | 1,131,830,933 | 5,957 | mbrodala | Final update: yes, the update fixed it. :sweat_smile: | 2022-05-19T14:53:34 | 2022-05-19T14:53:34 | {} | NONE |
vuejs | core | 1,133,830,138 | 5,976 | zhmushan | This is not a bug, try the following code:
```ts
const txArr = $ref(data)
$$(txArr)
```
### Further explanation
Since the value you pass in is not a "reactive variable", "$$" function will think that you are trying to deconstruct array.
e.g. `const [fooRef, barRef] = $$([reactiveFoo, reactiveBar])` | 2022-05-22T06:40:20 | 2022-05-22T06:42:40 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,134,036,567 | 5,944 | yyx990803 | We already cache `getNow()` done in the same tick so this likely won't make noticeable difference, but making it faster shouldn't hurt. | 2022-05-23T00:36:39 | 2022-05-23T00:36:39 | {} | MEMBER |
vuejs | core | 1,138,441,040 | 4,294 | aislanmaia | @AndreiSoroka what if step type is a complex object instead a Number ? | 2022-05-26T11:40:13 | 2022-05-26T11:40:23 | {} | NONE |
vuejs | core | 1,132,418,956 | 5,963 | netlify[bot] | ### <span aria-hidden="true">👷</span> Deploy request for *vue-sfc-playground* pending review.
[Visit the deploys page to approve it](https://app.netlify.com/sites/vue-sfc-playground/deploys)
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit... | 2022-05-20T03:25:06 | 2022-05-20T03:25:06 | {} | NONE |
vuejs | core | 1,133,053,559 | 5,958 | zhmushan | @yyx990803 This PR is not intended to fix the problem that Nodejs12 cannot run, but to remove unnecessary optional check. | 2022-05-20T15:43:32 | 2022-05-20T15:43:32 | {} | CONTRIBUTOR |
vuejs | core | 1,133,334,575 | 5,972 | netlify[bot] | ### <span aria-hidden="true">👷</span> Deploy request for *vue-sfc-playground* pending review.
[Visit the deploys page to approve it](https://app.netlify.com/sites/vue-sfc-playground/deploys)
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit... | 2022-05-20T20:29:24 | 2022-05-20T20:29:24 | {} | NONE |
vuejs | core | 1,133,792,550 | 5,699 | snoozbuster | +1 on this. I have a [minimal repro codesandbox](https://codesandbox.io/s/friendly-hooks-kq44f4?file=/src/main.js) as well. the two apps created with `createApp` share `component`s, `directive`s, and `mixin`s, even on `configureCompat({ MODE: 3 })` which I would expect to be 100% identical to running without the compat... | 2022-05-22T00:54:09 | 2022-05-22T00:54:43 | {} | CONTRIBUTOR |
vuejs | core | 1,134,159,897 | 5,985 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | d7ba01138bee19761e8daae85160350f4523bcaa |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-05-23T04:19:29 | 2022-05-23T04:19:29 | {} | NONE |
vuejs | core | 1,135,216,663 | 5,580 | lrstanley | I know it's not an issue with Vue, but might be worth adding things like the type of keyboard you use causing these types of problems (e.g. gboard), not just the language being typed, to that note in the docs. Just ran into this too, and when I originally read over the comment in the docs, it mislead me to think it was... | 2022-05-23T23:00:22 | 2022-05-23T23:00:22 | {
"+1": 2
} | NONE |
vuejs | core | 1,136,552,454 | 5,957 | yyx990803 | That's not my suggestion - it's how Node.js release works. Every year there will be a major version of Node going end of life, keeping it up to date is a security best practice. If you deliver a system with end of life components to your customer, you are knowingly exposing them to security risks.
Either way, Vue 3 ... | 2022-05-25T00:14:13 | 2022-05-25T00:15:03 | {} | MEMBER |
vuejs | core | 1,136,620,996 | 5,990 | yyx990803 | Please do not ask when it will be released. It will be released when appropriate. | 2022-05-25T01:47:54 | 2022-05-25T01:47:54 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,136,624,445 | 5,984 | Marchcn-Ben | > 1. There is no version of Vue that supports the `:scope` syntax on slots.
> 2. The `slot-scope` syntax has been [deprecated since 2.6](https://v2.vuejs.org/v2/guide/components-slots.html#Deprecated-Syntax) and no longer supported in Vue 3. Please read [relevant sections on slots in Vue 3 docs](https://vuejs.org/guid... | 2022-05-25T01:52:31 | 2022-05-25T01:52:31 | {} | NONE |
vuejs | core | 1,139,598,363 | 6,019 | liulinboyi | Please look at the memory analyse with the context of timeline.


| 2022-05-27T13:02:43 | 2022-05-27T13:02:43 | {} | MEMBER |
vuejs | core | 1,132,548,036 | 5,964 | tony19 | > So do you think this needs to be fixed in `vue`?
Yes, I think so. But the template in the original repro is invalid IMO (see [comment](https://github.com/vuejs/core/issues/5964#issuecomment-1132521964)). I recommend creating a new issue with *valid* markup that generates the error.
> Alternatively, others who g... | 2022-05-20T07:05:06 | 2022-05-20T07:05:06 | {} | CONTRIBUTOR |
vuejs | core | 1,132,555,425 | 5,957 | alex116 | how can I use npm-shrinkwrap to keep it at 3.2.33? I am building node in buildroot but this part updated even though I thought I had npm-shrinkwrap keep everything at the current version. | 2022-05-20T07:11:33 | 2022-05-20T07:11:33 | {} | NONE |
vuejs | core | 1,133,334,573 | 5,972 | netlify[bot] | ### <span aria-hidden="true">👷</span> Deploy request for *vue-next-template-explorer* pending review.
[Visit the deploys page to approve it](https://app.netlify.com/sites/vue-next-template-explorer/deploys)
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</spa... | 2022-05-20T20:29:24 | 2022-05-20T20:29:24 | {} | NONE |
vuejs | core | 1,133,579,349 | 5,974 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e0241dc0303fddd1a4e018f607c2d37086950a63 |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-05-21T08:49:05 | 2022-05-21T08:49:05 | {} | NONE |
vuejs | core | 1,133,804,136 | 5,928 | DingpingZhang | > Your code literally mean "`run console.log(arr.indexOf('123456'))`" when arr is changed
@Justineo
Thanks, I understand the design idea of it.
> I don't think we can/should infer this from `watchEffect`.
For "should", the reason I have this doubt from the behavior of watching properties, I think properties ... | 2022-05-22T02:22:38 | 2022-05-22T02:22:38 | {} | NONE |
vuejs | core | 1,134,116,166 | 5,980 | kamilic | @yyx990803 What can I help?
Can you give me some hints to solve this problem?
It seems not safe to do some UA detection, but I only get this solution in my head now. | 2022-05-23T02:57:06 | 2022-05-23T02:57:06 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.