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,141,902,485 | 6,036 | LinusBorg | This is not doing what you think it's doing.its just a shortcut way to directly pass a setup function to `defineComponent()` - you would still be required to define props (this pattern has been tendered rather insignificant with the introduction of `<script setup>`)
```ts
const component = defineComponent((props)... | 2022-05-31T09:34:09 | 2022-05-31T09:34:09 | {} | MEMBER |
vuejs | core | 1,143,845,736 | 6,045 | LinusBorg | Please provide a runnable reproduction. It should be able to do on sfc.vuejs.org or stackblitz, both linked from within the issue form. | 2022-06-01T16:31:39 | 2022-06-01T16:31:50 | {} | MEMBER |
vuejs | core | 1,143,980,090 | 6,047 | jacekkarczmarczyk | remove spaces from `ref` attribute | 2022-06-01T18:16:14 | 2022-06-01T18:16:14 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,144,332,707 | 4,758 | krytes | `
import { Props } from "./useHooks";
interface NewProps extends Props = {};
const props = defineProps<NewProps>();
`
| 2022-06-02T01:50:02 | 2022-06-02T01:51:33 | {} | NONE |
vuejs | core | 1,146,734,599 | 6,054 | iwusong |
is this what you say? [SFCPlayground](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8ZGl2IGlkPVwiY21zLWN1c3RvbS1lZGl0b3JcIiBjbGFzcz1cImNtcy1jdXN0b20tZWRpdG9yXCI+XG4gICAgPGNtcy1lZGl0b3ItdG9vbGJhciB2LW1vZGVsOnRvZ2dsZXM9XCJzdGF0ZS50b2dnbGVzXCIvPlxuICAgIDxkaXYgY2xhc3M9XCJjb250ZW50XCI+VG9nZ2xlIEJ1dHRvbnM6IHt7... | 2022-06-05T03:33:41 | 2022-06-05T03:33:41 | {} | CONTRIBUTOR |
vuejs | core | 1,146,752,981 | 6,052 | zhmushan | I tried to change the LooseRequired to the following code and it works fine. But I don't know how to make it work with Vue.
```ts
export type LooseRequired<T> = { [P in keyof Required<T>]: T[P] }
``` | 2022-06-05T06:56:32 | 2022-06-05T06:56:32 | {} | CONTRIBUTOR |
vuejs | core | 1,147,154,488 | 6,061 | yyx990803 | They are necessary to serve as anchors of fragments - unfortunately it's not possible to remove them. | 2022-06-06T07:51:23 | 2022-06-06T07:51:23 | {} | MEMBER |
vuejs | core | 1,147,158,893 | 6,040 | yyx990803 | Your KeepAlive include/exclude patterns contain invalid values. Although Vue can guard against this, it is still a bug in your code which you should fix.
Also, please do provide valid reproductions. | 2022-06-06T07:57:47 | 2022-06-06T07:57:47 | {} | MEMBER |
vuejs | core | 1,147,201,703 | 6,015 | yyx990803 | Manually picked in 11e17a1a because I can't push to this branch - I needed to add code for handling content adoption mode (when static vnode's children is empty, e.g. in VitePress). | 2022-06-06T08:46:54 | 2022-06-06T08:46:54 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,141,207,088 | 6,032 | edison1105 | see https://vuejs.org/api/options-rendering.html#template | 2022-05-30T14:12:55 | 2022-05-30T14:12:55 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,141,212,917 | 6,032 | vanillajonathan | Oh, so this already works. This is really nice, I wasn't aware of that. It is a bit confusing though that it is called `template` in Vue but `$template` in vue-petite. | 2022-05-30T14:18:04 | 2022-05-30T14:18:04 | {} | NONE |
vuejs | core | 1,141,658,072 | 3,671 | Sovai | +1
| 2022-05-31T04:33:56 | 2022-05-31T04:33:56 | {} | NONE |
vuejs | core | 1,144,021,590 | 6,047 | chiboreache | 🤷

| 2022-06-01T19:00:49 | 2022-06-01T19:00:49 | {} | NONE |
vuejs | core | 1,144,559,893 | 6,048 | LinusBorg | Why? | 2022-06-02T07:52:18 | 2022-06-02T07:52:18 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,146,560,132 | 6,058 | LinusBorg | A complete example would be helpful in understanding what your actual usecase is.
What's `b`? Where would you await a computed? And are you aware that collection of reactive effects is inherently synchronous in all kinds of effects in Vue? | 2022-06-04T07:42:14 | 2022-06-04T07:42:14 | {} | MEMBER |
vuejs | core | 1,146,797,091 | 6,059 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 0001964a7899889aaf503c1fa8a53da4c0a47f0c |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-06-05T12:37:44 | 2022-06-05T12:37:44 | {} | NONE |
vuejs | core | 1,140,934,096 | 6,030 | Justineo | The CSS `content` attribute requires quotes around string values.
```diff
-const msg = ref('Hello World!');
+const msg = ref('"Hello World!"');
```
See [this demo](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiB9IGZyb20gJ3Z1ZSc7XG5jb25zdCBtc2cgPSByZWYoJ1wiSGVsbG8gV29ybGQhXCInKTtc... | 2022-05-30T09:37:51 | 2022-05-30T09:37:51 | {} | MEMBER |
vuejs | core | 1,148,231,043 | 6,025 | jw-foss | I think we should do as @yyx990803 said by fixing them on our side. | 2022-06-07T06:02:29 | 2022-06-07T06:02:29 | {
"+1": 1
} | NONE |
vuejs | core | 1,140,565,938 | 6,019 | LastHeaven | @liulinboyi 是这样的场景,中台管理系统的页面都是用v-for渲染的Tab页面,Tab页面打开再关掉之后,这个Tab页面的内存没有被回收,打开不同的页面越多,就算关掉了Tab页面,内存还是在那里被占用着,没有被回收。 | 2022-05-30T00:51:37 | 2022-05-30T00:51:37 | {} | NONE |
vuejs | core | 1,144,132,895 | 6,046 | leopiccionia | It's not possible to know the cause of your issue without a reproduction.
Anyway, `ClientOnly` is provided by Nuxt, not Vue ([see source](https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/components/client-only.mjs)), so it's the wrong repo to report an issue. | 2022-06-01T21:03:28 | 2022-06-01T21:03:28 | {} | CONTRIBUTOR |
vuejs | core | 1,145,196,032 | 3,228 | jacekkarczmarczyk | https://vuejs.org/api/sfc-script-setup.html#defineexpose | 2022-06-02T18:44:39 | 2022-06-02T18:44:39 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,146,706,565 | 6,058 | lidlanca | ```js
a = computed(async () => {
let b = b.value // read anything that need tracking before the await
return await IndexedDB.get(id.value) + b;
});
``` | 2022-06-05T00:03:13 | 2022-06-05T00:03:13 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,146,868,688 | 6,058 | LinusBorg | I'm not sure how I gave the impression that I want to *stop* discussion. I just pointed out the scope. If I gave that impression, sorry for that.
Also feel free to stop replying. Just consider that we likely won't implement something that we don't see a need for ourselves "and* for which we don't have concrete use cas... | 2022-06-05T19:18:51 | 2022-06-05T19:27:42 | {} | MEMBER |
vuejs | core | 1,148,034,669 | 4,344 | MaxLeiter | @huntjs I have the same exact problem, so please report back if you make progress | 2022-06-06T23:31:34 | 2022-06-06T23:31:34 | {
"+1": 3
} | NONE |
vuejs | core | 1,141,564,112 | 6,034 | edison1105 | maybe you should use isReady instead.
```javascript
router.isReady().then(onSuccess).catch(onError)
```
see https://router.vuejs.org/guide/migration/#replaced-onready-with-isready | 2022-05-31T00:47:31 | 2022-05-31T00:48:38 | {} | MEMBER |
vuejs | core | 1,109,216,072 | 5,806 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 7b1c191a6e222f1ffaf6bee134b12336378e50c5 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-04-26T01:56:07 | 2022-06-01T01:06:51 | {} | NONE |
vuejs | core | 1,144,031,826 | 6,047 | chiboreache | delete f* `yarn.lock` update and remember **ALWAYS BE THE BLEEDING EDGE** !!! | 2022-06-01T19:10:12 | 2022-06-01T19:10:12 | {} | NONE |
vuejs | core | 1,145,186,694 | 6,052 | liulinboyi | It's a broken in ts 4.7.
I have some workaround:
index.ts
```typescript
import { defineComponent } from "vue";
defineComponent({
props: {
onX: {
type: Function,
required: true,
},
},
setup(props) {
props.onX!();
},
});
```
or
tsconfig.json
```json
{
"com... | 2022-06-02T18:33:39 | 2022-06-02T18:36:22 | {} | MEMBER |
vuejs | core | 1,146,142,732 | 6,007 | b-d-k | The temp fix unfortunately doesn't seem feasible from a back-end perspective and I don't want to run a script that adds the properties back to the DOM.
Would you mind sharing your best guess as to when the fix will be released? | 2022-06-03T16:13:31 | 2022-06-03T16:13:31 | {} | NONE |
vuejs | core | 1,146,794,975 | 6,058 | donatas-luciunas | @boussadjra thanks, unfortunately `watch` would not solve the problem example I provided above | 2022-06-05T12:22:32 | 2022-06-05T12:22:32 | {} | NONE |
vuejs | core | 1,146,797,842 | 6,058 | LinusBorg | > irrelevant details.
I'm nto asking to get into irrelevant details, I'm asking to understand the use case and the kind of usage you have in mind.
for that, abstract one-line examples are not really useful.
> Anywhere where I want to use it, let's say before making request to some API.
Can you write a sho... | 2022-06-05T12:43:15 | 2022-06-05T12:46:02 | {} | MEMBER |
vuejs | core | 1,147,165,267 | 6,019 | yyx990803 | SFC playground 的内存占用跟实际应用的内存占用显然不是一回事。
Closing as non-reproducible. | 2022-06-06T08:03:53 | 2022-06-06T08:03:53 | {} | MEMBER |
vuejs | core | 1,147,289,105 | 6,025 | yyx990803 | `withCtx` is explicitly marked as internal API and should never appear in manual render functions. Element Plus should refactor to avoid reliance on explicitly internal APIs. | 2022-06-06T10:16:31 | 2022-06-06T10:16:31 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,140,324,231 | 5,767 | adarshmadrecha | Same issue. Using Quasar + Windi + Vite | 2022-05-28T20:17:11 | 2022-05-28T20:17:11 | {} | NONE |
vuejs | core | 1,146,042,989 | 6,055 | liulinboyi | ```css
ul li {
/* add this css */
position: absolute;
}
```
https://user-images.githubusercontent.com/41336612/171878338-eb010106-44de-4fc2-829a-e40b4bdac12b.mp4
[Example](https://sfc.vuejs.org/#__DEV__eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiwgb25CZWZvcmVVbm1vdW50IH0gZnJvbSAndnVlJ... | 2022-06-03T14:51:09 | 2022-06-03T14:51:09 | {} | MEMBER |
vuejs | core | 1,146,265,181 | 6,054 | alecStewart1 | Somewhat similar to your situtation except in reverse (child to parent): https://github.com/vuejs/docs/issues/1749 | 2022-06-03T18:50:06 | 2022-06-03T18:50:49 | {} | NONE |
vuejs | core | 1,146,795,729 | 6,058 | donatas-luciunas | @LinusBorg I try to keep examples laconic, so we do not dig into irrelevant details.
> What's `b`?
Let's say `b = ref(5)`. It could be any Vue computed / ref.
> Where would you await a computed?
Anywhere where I want to use it, let's say before making request to some API.
> And are you aware that collec... | 2022-06-05T12:28:25 | 2022-06-05T12:28:35 | {} | NONE |
vuejs | core | 1,147,996,866 | 6,058 | donatas-luciunas | @lidlanca I agree, this could be a workaround in many cases, thanks!
However an ideal solution in my opinion would be native support for async computed in @vue/reactivity. I have nice use cases for this library in Node.js environment where VueUse does not belong I assume. | 2022-06-06T22:27:41 | 2022-06-06T22:27:41 | {} | NONE |
vuejs | core | 1,340,059,834 | 7,283 | dvptl68 | good PR 👍 | 2022-12-06T21:54:32 | 2022-12-06T21:54:32 | {} | NONE |
vuejs | core | 1,345,200,873 | 6,253 | psarin | Any update on when this will be merged? Same here for us. | 2022-12-10T09:40:19 | 2022-12-10T09:40:19 | {
"+1": 1
} | NONE |
vuejs | core | 1,345,356,675 | 6,312 | sxzz | The problem still exists
https://sfc.vuejs.org/#eNotjsEOgjAQRH+l2XAAIyVyJMTEm3/gZS+KFSHtbtMteiD8u616253JvJkVTt7r12Kgg16GMPmoxMTFH5EGJmFrtOWxRDgba1ldONg7QoVUFOWhrdROtUh984umEOxhcp5DrN3V61mYEnlFUgr/hiB06qtkLVXnH+EZo5euaeQx5D2zaA5jky4dFoqTM9qIq2+B32JCAiNkxIa0wfYBpvRCtg==
/cc @yyx990803 @tuchg | 2022-12-10T18:31:38 | 2022-12-10T18:31:38 | {} | MEMBER |
vuejs | core | 1,345,550,781 | 7,319 | posva | But the watchEffect should be attached to the effectScope like a regular watch
The return is intentional to simulate a store | 2022-12-11T13:09:41 | 2022-12-11T13:09:41 | {} | MEMBER |
vuejs | core | 1,346,015,726 | 7,323 | LinusBorg | You did not raise an issue, you opened a feature request - for a feature that i don't see necessary. If you rather think you have a bug, you should follow the issue guidelines and open an issue with a runnable reproduction.
I still don't really have any idea what the problem is that you are trying to describe. a run... | 2022-12-12T07:33:12 | 2022-12-12T07:33:22 | {} | MEMBER |
vuejs | core | 1,346,174,195 | 5,830 | azamat-sharapov | This is a documented feature and not working. I wonder why the fix still not merged, it has been 8 months..
> Fixed by naming prop primary something else
Can you give more details? `const primary = defineProps<Props>()` didn't help. Also tried `const primarySomething = ...`.
| 2022-12-12T09:42:27 | 2022-12-12T09:42:27 | {
"+1": 1
} | NONE |
vuejs | core | 1,347,887,617 | 4,314 | yashwanth2714 | @gnuletik Thank you! | 2022-12-13T07:57:16 | 2022-12-13T07:57:16 | {} | NONE |
vuejs | core | 1,345,730,212 | 7,010 | ruida-shen | still having the same issue, version is 3.2.45 | 2022-12-12T01:11:01 | 2022-12-12T01:11:01 | {} | NONE |
vuejs | core | 1,336,655,640 | 7,256 | nooooooom | > this is because of the slot children and the fallback children both as blocks but with empty dynamic children.
>
> @nooooooom
>
> ```
> <template>
> <slot>
> <div> // remove v-if also works.
> Fallback Content
> </div>
> </slot>
> </template>
> ```
>
> I usually use `$slots.default` ... | 2022-12-05T02:44:24 | 2022-12-05T02:44:24 | {} | NONE |
vuejs | core | 1,339,642,345 | 7,281 | sqal | Well I think there are two solutions to this problem. If you don't use [script-setup](https://vuejs.org/api/sfc-script-setup.html#script-setup) I think you simply have to export Api interface from Child component and use it as ref's type, otherwise it just doesn't work
Parent.vue
```vue
<script lang="ts">
im... | 2022-12-06T16:32:18 | 2022-12-06T16:32:18 | {} | CONTRIBUTOR |
vuejs | core | 1,340,658,567 | 7,286 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | d296fe5d886c1eb04c2bbbed0ab82eb3c7867a1a |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-12-07T09:37:21 | 2022-12-07T09:37:21 | {} | NONE |
vuejs | core | 1,345,550,400 | 7,319 | edison1105 | https://github.com/vuejs/core/blob/11bd8db768f1f3587ed7e820357369551c081c60/packages/runtime-core/src/apiWatch.ts#L232-L236
```diff
let scope;
let store;
export function useCustomStore() {
- if (store) return store; // comment this line will works fine.
scope = scope || effectScope(true);
store = scope.ru... | 2022-12-11T13:08:04 | 2022-12-11T13:09:38 | {} | MEMBER |
vuejs | core | 1,345,814,673 | 6,484 | zhangzhonghe | @KaelWD Thanks for the PR, could you add a test? | 2022-12-12T03:22:49 | 2022-12-12T03:22:49 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,346,348,317 | 7,323 | yyx990803 | vite 或者是任何现代打包工具打包 Vue 3 都会默认引用 esm 格式,不存在全局变量污染。而 global 格式顾名思义就是暴露全局变量用的。
你的问题到底是什么,你并没有解释清楚。你自己觉得 umd 是唯一解决你问题的答案,我们觉得未必。你是不得不用一个不能处理 esm 的打包工具呢,还是错误的引用了 global 包呢,还是什么其他情况,你不提供重现,我们怎么可能知道?
另外,一个建议:调整下心态,加强一下沟通能力,好好说话。开源维护者不欠你任何东西,你如果不能心平气和的沟通,那我们也不会有兴趣解决你的问题,最终吃亏的是你自己。 | 2022-12-12T11:58:51 | 2022-12-12T11:58:51 | {
"+1": 6
} | MEMBER |
vuejs | core | 1,347,204,008 | 7,330 | LinusBorg | /cc @posva this should solve your problem in pinia. | 2022-12-12T19:55:49 | 2022-12-12T19:55:49 | {} | MEMBER |
vuejs | core | 1,347,699,722 | 7,323 | joebnb | 
早上一来看到这么多人点赞,细细一看,原来是家人们,那我把之前想说的也发上来。
========
1. 我已经绕开这个问题自己搞完了,发这个 issue 只是觉得这个东西应该你们改,你们改更合适,改了能让大家都变好,已经说过了,我是拿自己当contributor 来提这个事情。你们有没有兴趣去解决这个问题跟我没什么关系,没有什么吃亏的,心态不要觉得别人总在求自己,我一般写 web 界面90%都用 rea... | 2022-12-13T03:38:37 | 2022-12-13T03:45:21 | {} | NONE |
vuejs | core | 1,336,335,373 | 7,273 | LinusBorg | That's expected, and the nested object is not "responsive" (you mean reactive), it does not trigger anything. But when the change to `foo` triggers a component update, the whole template is being updated with *all* the current state | 2022-12-04T06:52:00 | 2022-12-04T06:55:19 | {} | MEMBER |
vuejs | core | 1,341,441,169 | 7,213 | ahnpnl | Another thing is, maybe bringing back the native behavior of `<template>` HTML element which gives flexibility when to render certain things. | 2022-12-07T19:02:46 | 2022-12-07T19:02:46 | {} | NONE |
vuejs | core | 1,342,833,283 | 4,314 | yashwanth2714 | @gnuletik - Thanks for providing the workaround.
We are seeing the following type errors while trying this in our project. Could you please tell us how to fix them?

| 2022-12-08T14:37:02 | 2022-12-08T14:37:02 | {} | NONE |
vuejs | core | 1,343,974,220 | 7,303 | zhangzhonghe | You should change to [this](https://stackblitz.com/edit/vitejs-vite-bwejmb?file=src%2FApp.vue,src%2Fpages%2FPage1.vue,src%2Fpages%2FPage2.vue).
```diff
<template>
++<div>
<div>Page1</div>
<button @click="page = 'Page2'">click to switch to Page2</button>
++</div>
</template>
<script setup>
import { ... | 2022-12-09T08:00:52 | 2022-12-09T08:00:52 | {} | MEMBER |
vuejs | core | 1,344,076,486 | 5,165 | pettyferlove | 实测3.2.45已经没有提示该错误 | 2022-12-09T09:38:57 | 2022-12-09T09:38:57 | {
"+1": 1
} | NONE |
vuejs | core | 1,345,594,301 | 7,319 | LinusBorg | I think `watch(Effect)()` should care about the `currentInstance` only if the `activeEffectScope === instance.scope` during the watcher's creation. But currently, the getter created for a `watchEffect()` will return early if the instance it was created "in" has unmounted.
Would you agree? | 2022-12-11T16:11:57 | 2022-12-11T16:17:39 | {
"+1": 3
} | MEMBER |
vuejs | core | 1,346,414,532 | 7,232 | wsypower | > I guess it could reduce a few characters (`, eventInfo`) in production mode, right?
Yes, whether it is production mode or development mode, it can save a few characters by omitting parentheses. | 2022-12-12T12:30:14 | 2022-12-12T12:30:14 | {} | CONTRIBUTOR |
vuejs | core | 1,346,976,059 | 7,322 | wbccb | @LinusBorg I'm sorry, I don't quite understand what `get() trap` means. I just want to express whether we should separate the size change from the value change, such as the following:
1. `Map.size` -> `track(toRaw(target), TrackOpTypes.ITERATE, ITERATE_KEY)`
`ITERATE_KEY` is only used for size changes
2. `Map.val... | 2022-12-12T18:08:19 | 2022-12-12T18:08:19 | {} | NONE |
vuejs | core | 1,344,193,535 | 5,165 | teajaysee | still getting this error on 3.2.45 | 2022-12-09T11:31:00 | 2022-12-09T11:31:00 | {} | NONE |
vuejs | core | 1,345,956,308 | 7,304 | wxsms | The Github link on sfc playground website points to here. You may transfer it at will. Thanks. | 2022-12-12T06:21:48 | 2022-12-12T06:21:48 | {} | MEMBER |
vuejs | core | 1,347,846,444 | 7,323 | Justineo | > no one think umd is better than directly declare a variable in window?
全篇第一句话就是一句反问,还全然不觉得这种语气有问题。
我们来捋一捋这个 issue 的火药味是怎么来的。
如果我没有理解错,Evan 上面的回复帮你捋清楚了你的实际需求实际上并不需要 Vue 提供 UMD bundle 来解决,而是由于你错误地在 `<script>` 中(而不是 `<script type="module">`)直接引入了 Vite 打包输出的 ESM bundle,并误认为这是 Vite 的 bug。后来自己给 ESM 包上 UMD wrapper ... | 2022-12-13T07:15:50 | 2022-12-13T07:16:27 | {} | MEMBER |
vuejs | core | 1,336,272,023 | 7,206 | posva | The unpkg entry isn't supposed to be directly required, it's normal it doesn't work. The exports are, in this case, correct. If anything, we could add extra `exports` as proposed in other issues. | 2022-12-03T22:43:30 | 2022-12-03T22:43:30 | {} | MEMBER |
vuejs | core | 1,338,216,102 | 7,278 | LinusBorg | It has happened now :) | 2022-12-05T21:43:55 | 2022-12-05T21:43:55 | {} | MEMBER |
vuejs | core | 1,341,866,109 | 7,206 | joebnb | > The unpkg entry isn't supposed to be directly required, it's normal it doesn't work. The exports are, in this case, correct. If anything, we could add extra `exports` as proposed in other issues.
i think unpkg bundle should use UMD definition to do this.not directly put this in window. it's lost expansibility
| 2022-12-08T02:00:00 | 2022-12-08T02:00:00 | {} | NONE |
vuejs | core | 1,342,173,339 | 7,291 | torder-jkj | The change is one object, but the actual re-rendering happens to all components | 2022-12-08T07:03:29 | 2022-12-08T07:03:29 | {} | NONE |
vuejs | core | 1,342,885,029 | 7,293 | SavkaTaras | Hello @baiwusanyu-c @LinusBorg ,
Thanks for being so prompt on solving the issue. Hopefully PR will be merged in the next release :).
Regards,
Taras | 2022-12-08T15:14:32 | 2022-12-08T15:14:32 | {} | NONE |
vuejs | core | 1,342,666,035 | 7,285 | edison1105 | It works fine in tests.
https://github.com/vuejs/core/blob/6493da5bfa4624267248deb3d31dca2a4fb22aee/packages/server-renderer/__tests__/render.spec.ts#L693-L698
https://github.com/vuejs/core/blob/0e0976168ffbe35152583b30ee311dd5be62205a/packages/server-renderer/src/render.ts#L223-L225
The code here is not executed... | 2022-12-08T12:36:58 | 2022-12-09T00:48:58 | {} | MEMBER |
vuejs | core | 1,343,863,130 | 7,304 | baiwusanyu-c | This issue should be moved to this repository https://github.com/vuejs/repl | 2022-12-09T05:17:56 | 2022-12-09T05:17:56 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,343,997,218 | 7,305 | zhangzhonghe | You should change to this in Resizer.vue:
```diff
const props = defineProps({
panel: {
- type: Proxy,
+ type: Object,
// required: true,
},
})
```
For more information, see the [doc](https://vuejs.org/guide/components/props.html#runtime-type-checks). | 2022-12-09T08:24:35 | 2022-12-09T10:33:39 | {} | MEMBER |
vuejs | core | 1,344,162,251 | 5,073 | zhangzhonghe | Duplicate of #6222 and #7042. This issue has been fixed in v3.2.45 | 2022-12-09T11:04:13 | 2022-12-09T11:04:13 | {} | MEMBER |
vuejs | core | 1,344,169,221 | 5,165 | zhangzhonghe | Thanks for your PR, but this issue has been fixed in v3.2.45, see #7049. | 2022-12-09T11:08:31 | 2022-12-09T11:08:31 | {} | MEMBER |
vuejs | core | 1,346,168,163 | 7,326 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 3961f708c145919d82af25f55329a5463f50be2c |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-12-12T09:37:33 | 2022-12-12T09:37:33 | {} | NONE |
vuejs | core | 1,347,042,143 | 7,322 | LinusBorg | I think we think in the same direction. I understood your initial description to argue for a simple removal of the `ITERATE_KEY` on set.
Not sure as of now if the PR that has alreay been submitted is the correct fix. | 2022-12-12T18:36:03 | 2022-12-12T18:36:40 | {} | MEMBER |
vuejs | core | 1,347,816,604 | 7,323 | joebnb | > 另一方面,这跟 Vue 是否提供 UMD 根本是不相干的问题
之前就说过了,这是2个问题,既然是两个问题,所以就是不相干的问题,还要下面再给解释一番,然后说表达能力欠缺?
> Vue 的 global build 就是专门用于非 ESM 的普通 <script> 场景的,暴露全局变量就是这个 build 的目的
这不是忽略了最开始的问题给答案么?而且前提是假想出我没有必要用到 umd ,我在上面的问题是:UMD 和直接这么整(用一个空对象把exports的路堵死)有什么区别?这样扩展性就更好了?
> 你想要 umd support,你得解释清楚为什么一定要有 umd support。
不想要了,不想... | 2022-12-13T06:38:34 | 2022-12-13T06:45:27 | {
"-1": 3
} | NONE |
vuejs | core | 1,347,882,926 | 7,323 | yyx990803 | > 请把我 block 掉吧
done | 2022-12-13T07:52:58 | 2022-12-13T07:52:58 | {} | MEMBER |
vuejs | core | 1,340,591,714 | 7,285 | zhangzhonghe | [Minimal reproduction](https://stackblitz.com/edit/github-zgzicn-bnf94q?file=src%2FFunctionalComponent.ts,src%2FApp.vue) without tsx. | 2022-12-07T08:40:52 | 2022-12-07T08:40:52 | {} | MEMBER |
vuejs | core | 1,341,880,712 | 7,291 | baiwusanyu-c | I don't quite understand your question, your description in `expected` is the same as the description in `actually happening`,What does `all re-renders` mean? | 2022-12-08T02:13:40 | 2022-12-08T02:13:40 | {} | MEMBER |
vuejs | core | 1,342,106,744 | 7,293 | baiwusanyu-c | I think this is a `bug`. In the process of rendering the content of the custom element wrapped by `defineAsyncComponent`, if it is bound to an attribute, such as `id`, then its `vnode` will be used by the `cloneVNode` method Cloning, but the cloning of the `ce` attribute was omitted during cloning, resulting in being p... | 2022-12-08T06:04:56 | 2022-12-08T06:04:56 | {} | MEMBER |
vuejs | core | 1,342,195,638 | 7,291 | torder-jkj | thanks for your detailed answer | 2022-12-08T07:28:31 | 2022-12-08T07:28:31 | {} | NONE |
vuejs | core | 1,346,413,005 | 7,323 | joebnb | 算了我删了,不想事多,都解决了没必要浪费彼此的时间和精力,这几个issue从时间线上已经足够说明很多 | 2022-12-12T12:29:33 | 2022-12-12T12:32:39 | {} | NONE |
vuejs | core | 1,347,726,238 | 7,323 | meteorlxy | > 我的问题也说的很明确 umd support,在另外的issue里也说过,我就不多说了
这个大概是最大的分歧点了,你觉得你已经讲清楚了,但是读的人可能并没能看懂……你提到的其他 issue 结合起来看也没有帮助我们准确理解到问题所在。
> I have trouble understand what supposed problem a UMD build would solve
LinusBorg 回复的第一句就很能说明问题。
> 我是拿自己当contributor 来提这个事情
通篇读下来没有感受到“把自己当 contributor”,而是包含了很多反问和嘲讽性的语言。上面说的 “调整下心态,加... | 2022-12-13T04:16:19 | 2022-12-13T04:16:19 | {} | MEMBER |
vuejs | core | 1,336,059,393 | 6,538 | zhangzhonghe | Duplicate of #6930 | 2022-12-03T04:58:23 | 2022-12-03T04:58:23 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,338,821,198 | 7,279 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 22263948e47df681dfe5618a3660ec5839598619 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-12-06T06:14:48 | 2022-12-06T06:14:48 | {} | NONE |
vuejs | core | 1,344,617,403 | 7,308 | renatodeleao | To clarify what drove me to report this and my confusion for others that might end up here: in the real-world project my whole component tree has `compatConfig.MODE === 3`, but as above-mentioned, I did not change the global runtime configuration with exported `configureCompat`. Without that, the **built-in runtime com... | 2022-12-09T18:17:08 | 2022-12-09T18:18:31 | {} | NONE |
vuejs | core | 1,342,131,547 | 7,291 | torder-jkj | component re-renders | 2022-12-08T06:26:24 | 2022-12-08T06:26:24 | {} | NONE |
vuejs | core | 1,344,378,604 | 7,308 | renatodeleao | @LinusBorg many thanks for bringing it to my attention and sorry for wasting your time! 🤦 In my "real-world" project, I do not have global runtime `compatConfig` set, but my individual components have the `compatConfig: { MODE: 3 }` option. Probably one of the consumers hasn't.
EDIT: ~yes my wrapper didn't have it... | 2022-12-09T14:30:42 | 2022-12-09T17:35:18 | {} | NONE |
vuejs | core | 1,346,496,580 | 5,830 | PixsaOJ | @azamat-sharapov I think I meant prop itself, not the variable. I think it should be called `const props = defineProps<Props>()` | 2022-12-12T13:26:18 | 2022-12-12T13:26:18 | {} | NONE |
vuejs | core | 1,347,802,637 | 7,322 | wsypower | I was thinking that `Map.size` should only concern itself with the length of the `key`, and it should be similar to `Map.keys`. | 2022-12-13T06:17:22 | 2022-12-13T06:17:22 | {} | CONTRIBUTOR |
vuejs | core | 1,335,969,988 | 7,258 | vanillajonathan | With disabled `dom.importMaps.enabled` set to `false`:
> can't access property "default", __modules__['App.vue'] is undefined
With disabled `dom.importMaps.enabled` set to `true`:
> The specifier “pinia” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” ... | 2022-12-02T23:52:30 | 2022-12-02T23:52:30 | {} | NONE |
vuejs | core | 1,340,434,315 | 7,280 | r3x5ur | @daisybaicai
改写一下index.vue :3-16 代码 就不会打印l两次
```vue
<router-view v-slot="{ Component }">
<keep-alive v-if="$route.meta.keepAlive">
<component :is="Component" :key="$route.name" />
</keep-alive>
<component :is="Component" v-else :key="$route.name" />
</router-view>
``` | 2022-12-07T06:22:01 | 2022-12-07T06:22:01 | {} | NONE |
vuejs | core | 1,341,225,615 | 5,766 | Rolanddoda | I began to use Functional Components and being able to specify props with TypeScript it feels like something normal but unfortunately, it's not possible.
I hope we can have better support for Functional Components in the future | 2022-12-07T16:19:41 | 2022-12-07T16:19:41 | {} | NONE |
vuejs | core | 1,341,855,254 | 6,222 | linfulongnet | https://pullanswer.com/questions/runtime-core-esm-bundler-js-7318-uncaught-in-promise-typeerror-parentcomponent-ctx-deactivate-is-not-a-function | 2022-12-08T01:45:10 | 2022-12-08T01:45:10 | {} | NONE |
vuejs | core | 1,342,136,814 | 7,291 | baiwusanyu-c | > component re-renders
I get it 😂 | 2022-12-08T06:31:35 | 2022-12-08T06:31:35 | {} | MEMBER |
vuejs | core | 1,342,481,193 | 4,635 | davidurco | Any progress on this one? We all need to realize that people use Vue to build full-featured custom element apps. Not only for small components as was intended. We need this! | 2022-12-08T10:24:30 | 2022-12-08T10:24:30 | {
"+1": 14
} | NONE |
vuejs | core | 1,345,359,088 | 7,279 | sxzz | I just realized that it's not a necessity to add a semicolon after `_toRef` function of Reactivity Transform.
From the example of #6303, we should only add a semicolon in the first rectangle. It's actually not the scope of the reactivity transform, and it works now. But as the second rectangle, a semicolon should be... | 2022-12-10T18:41:19 | 2022-12-10T18:41:19 | {} | MEMBER |
vuejs | core | 1,345,791,080 | 6,484 | haiweilian | @sxzz Will it be merged? | 2022-12-12T02:53:58 | 2022-12-12T02:53:58 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.