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 | 2,446,331,136 | 11,561 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/f9cfcfcc-28c7-488d-bad5-48b027bccc23)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@11561
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https://pkg.... | 2024-10-30T09:34:00 | 2024-11-14T07:57:15 | {} | NONE |
vuejs | core | 2,475,779,235 | 12,390 | xuncanzhe | Have you tried changing it to v-show="false"? It still shows 1 2. Is this expected? | 2024-11-14T09:03:25 | 2024-11-14T09:03:25 | {} | NONE |
vuejs | core | 2,470,236,687 | 12,349 | johnsoncodehk | /ecosystem-ci run | 2024-11-12T11:04:58 | 2024-11-12T11:04:58 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,473,927,374 | 12,349 | JoviDeCroock | @johnsoncodehk this leak is present in `alien-signals` itself, might be worth tackling there as well for all other consumers of the package. | 2024-11-13T15:21:04 | 2024-11-13T15:21:04 | {} | NONE |
vuejs | core | 2,474,155,561 | 12,370 | skirtles-code | I'm not sure this is a memory leak. If I set the Playground to PROD mode, the `VClass` instances are no longer retained in memory.
I believe the reason they're being retained is due to the proxying used to expose variables to the template in dev. In production mode, the variable `scope` is eligible for GC, so `list`... | 2024-11-13T16:40:54 | 2024-11-13T16:40:54 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 2,475,224,785 | 12,387 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ------- | ------- |
| runtime-dom.global.prod.js | 100 kB | 38 kB | 34.2 kB |
| vue.global.prod.js | 159 kB | 57.9 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2024-11-14T02:15:23 | 2024-11-14T02:15:23 | {} | NONE |
vuejs | core | 2,475,550,521 | 12,371 | FxLsoft | 我在项目中进行memory进行分析,很多节点没有被回收,是跟v-if v-for指令和vue里currentBlock方法有关。具体不清楚哪里的问题,部分截图如下

| 2024-11-14T06:51:58 | 2024-11-14T06:51:58 | {} | NONE |
vuejs | core | 2,475,708,417 | 12,387 | vue-bot | ⏳ Triggered ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11833417217) | 2024-11-14T08:28:04 | 2024-11-14T08:28:04 | {} | CONTRIBUTOR |
vuejs | core | 2,475,736,068 | 12,390 | edison1105 | this is the expected behavior. see [Playground](https://play.vuejs.org/#eNp9UbtOwzAU/RXrLl1KIh5TCZUAdYABEDB6qZLb1MWxLT/SSFX+nWtHSTu0nex7HtbxuQd4NiZrA8ICCldaYTxz6INZciUao61nr7oxbGN1w2ZZHoconz1yVeSDgaQ0eGyMXHukibEimdobt9X7Jw7eBuSQE1Xkkw7m4F2p1UbU2c5pRQkO0cuhJLOQaD+NF1o5DguWmMitpdT794TFV+cjXm6x/DuD71wXMQ5fFh3alnJMnF/bGv1A... | 2024-11-14T08:42:46 | 2024-11-14T08:42:46 | {} | MEMBER |
vuejs | core | 2,469,479,936 | 12,363 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/d6d3dd80-4c22-4b45-9ca9-7edcc05a5b20)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@12363
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https://pkg.... | 2024-11-12T02:44:55 | 2024-11-12T05:47:38 | {} | NONE |
vuejs | core | 2,469,753,175 | 8,271 | edison1105 | As @linghaoSu said. It would help if you used `shallowRef` instead of `ref` due to the instance of `monaco.editor` too complex. | 2024-11-12T07:05:37 | 2024-11-12T07:05:37 | {} | MEMBER |
vuejs | core | 2,469,769,608 | 8,258 | edison1105 | As @Shyam-Chen points out it should be :
```vue
<router-view v-slot="{ Component }">
<Suspense>
<component :is="Component" />
</Suspense>
</router-view>
```
It can no longer be reproduced with v3.5.12 | 2024-11-12T07:17:30 | 2024-11-12T07:17:30 | {} | MEMBER |
vuejs | core | 2,472,331,812 | 12,374 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------ | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 100 kB (**+8 B**) | 38 kB (**+3 B**) | 34.2 kB (**+24 B**) |
| v... | 2024-11-13T04:08:04 | 2024-11-13T06:22:23 | {} | NONE |
vuejs | core | 2,472,602,065 | 12,371 | edison1105 | @FxLsoft
Use Chrome 128, or wait for Chrome to fix it. Vue cannot avoid this issue. | 2024-11-13T06:47:42 | 2024-11-13T06:47:42 | {} | MEMBER |
vuejs | core | 2,472,114,069 | 12,349 | yyx990803 | Btw, we can use vitest bench to generate comparisons:
- On `main` branch, run `vitest bench --project=unit --outputJson=bench.json computed`
- Then on `alien-signals` branch, run `vitest bench --project=unit --compare=bench.json computed`
Result on my machine:
### Computed
```
· create computed ... | 2024-11-13T01:26:04 | 2024-11-13T07:13:25 | {
"+1": 3
} | MEMBER |
vuejs | core | 2,473,519,808 | 12,381 | edison1105 | https://github.com/user-attachments/assets/09285eaf-d266-4665-9b2c-f927a8bb7c66
I can't reproduce it with `hoistStatic: false`. **under Chrome incognito mode**
| 2024-11-13T12:45:47 | 2024-11-13T12:56:09 | {} | MEMBER |
vuejs | core | 2,475,499,821 | 5,806 | yyx990803 | 21932840e avoids the extra array copy and also avoid unnecessary `remove` call when the effectScope is already stopped. | 2024-11-14T06:14:10 | 2024-11-14T06:14:10 | {} | MEMBER |
vuejs | core | 2,477,390,115 | 12,088 | HarbourDesign | thead and/or tbody did fix the error bug which showed up when running: npm run dev. I just did an update and its still there:
── vite@5.4.11
├── vue-router@4.4.5
└── vue@3.5.12 | 2024-11-14T20:54:03 | 2024-11-14T22:34:11 | {} | NONE |
vuejs | core | 2,469,709,993 | 8,301 | edison1105 | It looks like `vue-jest` need to apply this code to register TS
```ts
require("@vue/compiler-sfc").registerTS(() => require("typescript"));
``` | 2024-11-12T06:30:41 | 2024-11-12T06:30:41 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,468,950,221 | 12,349 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11785419064)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11772427668) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-11T20:14:20 | 2024-11-13T00:12:53 | {} | CONTRIBUTOR |
vuejs | core | 2,472,853,300 | 12,381 | DobbyFanbase | Maybe I'm misunderstanding something. Why do the elements remain detached if I click on a test button and then click on the _Toggle V-IF_ button?
Steps:
- click on Test-Button
- click on _Toggle V-IF_ button (hide)
- click on _Toggle V-IF_ button (show)
Repeat steps multiple times | 2024-11-13T08:42:06 | 2024-11-13T08:42:06 | {} | NONE |
vuejs | core | 2,472,994,313 | 12,349 | johnsoncodehk | /ecosystem-ci run | 2024-11-13T09:39:18 | 2024-11-13T09:39:18 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,475,652,939 | 11,561 | yyx990803 | This actually seems to be fixing a difference case from #11533
In #11533 the styles are applied by the child on mount, whereas this PR fixes the case where the styles are applied by the parent on update.
#11533 is fixed by 2d5c5e25e, but this PR is also a legit fix for the different test case it demonstrated. | 2024-11-14T07:56:51 | 2024-11-14T07:57:38 | {} | MEMBER |
vuejs | core | 2,475,913,342 | 8,063 | edison1105 | `sayHi` should be an arrow function.
```js
sayHi: () => {
console.log("Hi !");
}
``` | 2024-11-14T10:03:25 | 2024-11-14T10:12:18 | {} | MEMBER |
vuejs | core | 2,476,389,543 | 12,392 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/73a1eb2f-5723-4f92-8cfa-04887d9b5fa0)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@12392
```
</p></details>
<details><summary><b>@vue/compiler-sfc</b></summary><p>
```
pnpm add https://pkg.... | 2024-11-14T13:42:23 | 2024-11-14T13:54:46 | {} | NONE |
vuejs | core | 2,477,817,460 | 12,400 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------ | ------------------ | ------------------- |
| runtime-dom.global.prod.js | 99.6 kB (**-5 B**) | 37.8 kB (**-4 B**) | 34.1 kB (**-62 B**) |
| vue.... | 2024-11-15T02:16:37 | 2024-11-15T02:16:37 | {} | NONE |
vuejs | core | 2,413,910,645 | 12,182 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 99.7 kB (**+86 B**) | 37.9 kB (**+12 B**) | 34.1 kB (**-29 B**) |
... | 2024-10-15T13:24:41 | 2024-11-15T02:36:40 | {} | NONE |
vuejs | core | 2,470,756,395 | 12,302 | ludwig801 | > > I.e.: why does `ref<MyClass>` map to type `Ref<MyClass>`
>
> I’m not entirely sure I understand your question. Both cases involve unwrapping, as shown in the Playground example above:
>
> ```ts
> class Foo {
> private foo = 1
> }
>
> const t1 = ref<Foo[]>([new Foo])
> // ^ Ref<{}[]>
> const t2 =... | 2024-11-12T14:56:03 | 2024-11-12T14:56:21 | {} | NONE |
vuejs | core | 2,469,362,055 | 12,349 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11788486956)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11772427668) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-12T00:46:00 | 2024-11-13T00:13:01 | {} | CONTRIBUTOR |
vuejs | core | 2,470,250,123 | 12,349 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11795971986)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11772427668) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-12T11:11:31 | 2024-11-13T00:13:59 | {} | CONTRIBUTOR |
vuejs | core | 2,473,032,088 | 12,313 | LittleSound | Fixed in https://github.com/vuejs/core/commit/83430a35f4865f02e6ab1029add66bf36dd26c5c | 2024-11-13T09:54:30 | 2024-11-13T09:54:30 | {} | MEMBER |
vuejs | core | 2,475,510,729 | 12,373 | yyx990803 | I separated the fix for #5783 in 21932840e | 2024-11-14T06:23:38 | 2024-11-14T06:23:38 | {} | MEMBER |
vuejs | core | 2,469,487,763 | 12,349 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11789770320)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11772427668) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-12T02:53:43 | 2024-11-13T00:13:10 | {} | CONTRIBUTOR |
vuejs | core | 2,475,122,528 | 12,373 | edison1105 | /ecosystem-ci run | 2024-11-14T00:49:57 | 2024-11-14T00:49:57 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,475,366,047 | 12,388 | Alfred-Skyblue | 
element-plus 提供了相关 api,这并不是 vue 的问题。 | 2024-11-14T04:01:59 | 2024-11-14T04:01:59 | {} | MEMBER |
vuejs | core | 2,472,069,895 | 12,373 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/a04d2438-db0c-4175-8bc5-4a03e9456e34)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@12373
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https://pkg.... | 2024-11-13T01:07:00 | 2024-11-14T06:23:17 | {} | NONE |
vuejs | core | 2,477,703,683 | 12,397 | babu-ch | @office-allow
ChildComponent's script setup is typo :smile:
```js
// stepup -> setup
<script steup lang="ts">
``` | 2024-11-15T00:36:29 | 2024-11-15T00:36:29 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 2,461,706,128 | 12,343 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ------- | ------- |
| runtime-dom.global.prod.js | 100 kB | 38 kB | 34.2 kB |
| vue.global.prod.js | 159 kB | 57.9 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2024-11-07T09:16:07 | 2024-11-07T09:16:07 | {} | NONE |
vuejs | core | 2,463,569,676 | 9,591 | edison1105 | @p3k
should be
```js
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
compilerOptions: {
comments: false
},
},
},
```
see https://github.com/vuejs/vue-loader/issues/2076#issuecomment-2133169750 | 2024-11-08T01:26:26 | 2024-11-08T01:26:26 | {} | MEMBER |
vuejs | core | 2,300,407,100 | 7,768 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------ | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 100 kB (**+39 B**) | 38 kB (**+11 B**) | 34.2 kB (**+40 B**) |
| v... | 2024-08-21T02:51:13 | 2024-11-09T07:09:29 | {} | NONE |
vuejs | core | 2,467,158,018 | 12,344 | chenendian |
this poblem is resolved use this fucntion this is lin https://github.com/vitejs/vite/issues/11730 | 2024-11-11T03:25:50 | 2024-11-11T03:25:50 | {} | NONE |
vuejs | core | 2,469,354,799 | 12,349 | johnsoncodehk | /ecosystem-ci run | 2024-11-12T00:37:04 | 2024-11-12T00:37:04 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,454,843,116 | 8,803 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11666070789)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11658343609) |
|-------|--------|----------------|
| vite-plugin-vue | :white_check_mark: [success](https://github.com/vuejs/ecosystem-c... | 2024-11-04T14:20:22 | 2024-11-04T14:20:22 | {} | CONTRIBUTOR |
vuejs | core | 2,456,539,516 | 12,326 | jh-leong | /ecosystem-ci run | 2024-11-05T08:32:31 | 2024-11-05T08:32:31 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,458,892,775 | 8,675 | edison1105 | a workaround:
```ts
el.parentElement._vnode = null
render(node, el.parentElement)
```
It will patch vnode if `container._vnode` is not null, otherwise, append vnode.
I don’t think this is a bug, because the render is designed to work this way. | 2024-11-06T07:29:41 | 2024-11-06T07:29:41 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,459,719,473 | 8,647 | edison1105 | The cause of the problem is as follows:
The reactive system proxy the `set.add`, if a reactive object is add, its raw value will be stored. see https://github.com/vuejs/core/blob/c82b66214b2d78d669546ce715c8c8f9868a6980/packages/reactivity/src/collectionHandlers.ts#L170
However, during initialization, `reactive(new S... | 2024-11-06T13:12:23 | 2024-11-06T13:12:23 | {} | MEMBER |
vuejs | core | 2,461,706,711 | 12,343 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/11ec97f2-4753-460e-a726-34107c8be11c)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@12343
```
</p></details>
<details><summary><b>@vue/compiler-sfc</b></summary><p>
```
pnpm add https://pkg.... | 2024-11-07T09:16:24 | 2024-11-07T09:16:24 | {} | NONE |
vuejs | core | 2,461,708,015 | 9,591 | p3k | I do not think it is a playground bug, only.
We are seeing this issue in production only, although we are using the default setup of the VueLoader which – according to the [documentation](https://vuejs.org/api/application.html#app-config-compileroptions-comments) – defines `comments: false`.
Even when I explicit... | 2024-11-07T09:17:02 | 2024-11-07T09:26:44 | {} | NONE |
vuejs | core | 2,463,660,486 | 8,613 | edison1105 | As @Alfred-Skyblue Said. | 2024-11-08T02:58:08 | 2024-11-08T02:58:08 | {} | MEMBER |
vuejs | core | 2,466,977,417 | 12,349 | johnsoncodehk | /ecosystem-ci run | 2024-11-10T23:03:44 | 2024-11-10T23:03:44 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,467,110,426 | 8,572 | edison1105 | The issue can no longer be reproduced with:
```json
"dependencies": {
"vue": "3.5.12"
},
"devDependencies": {
"typescript": "5.6.3",
"vue-tsc": "2.1.10"
},
```
| 2024-11-11T02:28:05 | 2024-11-11T02:28:05 | {} | MEMBER |
vuejs | core | 2,455,129,097 | 11,720 | dabernathy89 | I don't understand where the "intended behavior" is defined, as the original RFC didn't mention the limitation that only primitives would be supported. This feels more like a bug to me; if `defineModel` creates a ref why shouldn't it behave like a standard ref? And why would the behavior be different when `v-model` is ... | 2024-11-04T16:13:56 | 2024-11-04T16:13:56 | {
"+1": 6
} | NONE |
vuejs | core | 2,456,468,071 | 12,326 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11679728970)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11658343609) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-05T07:54:18 | 2024-11-05T07:54:18 | {} | CONTRIBUTOR |
vuejs | core | 2,456,575,651 | 8,794 | edison1105 | The issue can no longer be reproduced using the latest version of Vue and vue-tsc. | 2024-11-05T08:49:45 | 2024-11-05T08:49:45 | {} | MEMBER |
vuejs | core | 2,458,508,030 | 12,333 | edison1105 | As @sqal said. | 2024-11-06T01:14:14 | 2024-11-06T01:14:14 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,463,583,549 | 12,346 | jh-leong | This behavior is expected.
In the "Bug Case," each render creates a new promise, which updates the `ref` on the next tick, causing a new render and resulting in a dead loop. | 2024-11-08T01:40:53 | 2024-11-08T01:40:53 | {} | MEMBER |
vuejs | core | 2,463,634,608 | 7,768 | AlexVagrant | > The underlying problem is that the following line has side effects.
>
> https://github.com/vuejs/core/blob/10a46f43c0d41f1e38616042d38b087c0ec1c829/packages/runtime-core/src/rendererTemplateRef.ts#L114
OK. I understanded. thanks.
https://github.com/vuejs/core/issues/8733 | 2024-11-08T02:30:49 | 2024-11-09T15:12:51 | {} | CONTRIBUTOR |
vuejs | core | 2,466,790,017 | 12,354 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/1a96269e-7457-4e68-afe2-f78614ea6edc)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@12354
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https://pkg.... | 2024-11-10T16:03:23 | 2024-11-10T19:16:41 | {} | NONE |
vuejs | core | 2,467,100,256 | 12,357 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ------- | ------- |
| runtime-dom.global.prod.js | 100 kB | 38 kB | 34.2 kB |
| vue.global.prod.js | 159 kB | 57.9 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2024-11-11T02:15:52 | 2024-11-11T02:15:52 | {} | NONE |
vuejs | core | 2,467,635,757 | 8,401 | edison1105 | This is the intended behavior. see https://github.com/vuejs/core/blob/7518bc19dc73ba46dcf1eef6e23f9e6e75552675/packages/runtime-core/src/componentOptions.ts#L1102
you should use:
```js
const hasOwn = (val, key) => Object.prototype.hasOwnProperty.call(val, key)
console.log('hasOwn',hasOwn(this.$options.props, 'msg')... | 2024-11-11T09:22:01 | 2024-11-11T09:34:58 | {} | MEMBER |
vuejs | core | 2,456,458,480 | 12,326 | jh-leong | /ecosystem-ci run | 2024-11-05T07:48:42 | 2024-11-05T07:48:42 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,458,839,387 | 12,325 | YiMo1 | 并不是bug,在文档中有说明到,只有顶层的`ref`才会在模板中自动解包。[参考](https://vuejs.org/guide/essentials/reactivity-fundamentals.html#caveat-when-unwrapping-in-templates)
在你的示例代码中,你可以将`v-bind="refs"`改为`v-bind="props"`。 | 2024-11-06T06:48:25 | 2024-11-06T06:51:14 | {
"+1": 2
} | NONE |
vuejs | core | 2,463,617,871 | 12,344 | edison1105 | `import TestHmr from ../dist/index.es.js` is overriding `window.__VUE_HMR_RUNTIME__` from Vue.js, which is causing HMR to fail. | 2024-11-08T02:11:50 | 2024-11-08T02:11:50 | {} | MEMBER |
vuejs | core | 2,466,672,037 | 9,185 | Xowap | Yup don't worry about it we've found a quick fix on our side. Turns out switching the whole codebase to Svelte was simpler than moving to Vue 3.
(It's a joke obviously, it wasn't quick) | 2024-11-10T10:11:15 | 2024-11-10T10:11:15 | {
"-1": 1,
"confused": 1
} | NONE |
vuejs | core | 2,466,979,691 | 12,349 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11769238258)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11736377518) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-10T23:10:14 | 2024-11-10T23:10:14 | {} | CONTRIBUTOR |
vuejs | core | 2,467,116,670 | 8,525 | edison1105 | The issue can no longer be reproduced using the latest version.
```json
"dependencies": {
"vue": "3.5.12"
},
"devDependencies": {
"typescript": "5.6.3",
"vue-tsc": "2.1.10"
},
``` | 2024-11-11T02:35:14 | 2024-11-11T02:35:14 | {} | MEMBER |
vuejs | core | 2,468,207,652 | 12,349 | johnsoncodehk | /ecosystem-ci run | 2024-11-11T13:40:29 | 2024-11-11T13:40:29 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,456,503,428 | 8,831 | edison1105 | The issue can no longer be reproduced using the latest version of Vue. | 2024-11-05T08:13:47 | 2024-11-05T08:13:47 | {} | MEMBER |
vuejs | core | 2,457,036,468 | 12,326 | jh-leong | /ecosystem-ci run | 2024-11-05T12:25:30 | 2024-11-05T12:25:30 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,463,836,915 | 4,874 | ReinisV | > Just for the record what you can quite easily do for now is use a wrapper component like this:
>
> ```js
> import { h, reactive } from 'vue'
> import App from './App.vue'
>
> const props = reactive({ whatever })
>
> const app = createApp({
> render: () => h(App, props)
> })
>
> app.mount('#app')
> ... | 2024-11-08T05:49:00 | 2024-11-08T05:50:29 | {
"+1": 1
} | NONE |
vuejs | core | 2,464,999,479 | 7,595 | YoSev | Replacing existing content with `:replace="true"` would also be appreciated.
Content of teleport targets can thus be used as we use default values in slots.
(I am aware this can be achieved using vanillajs manually) | 2024-11-08T15:10:45 | 2024-11-08T15:11:47 | {
"+1": 1
} | NONE |
vuejs | core | 2,300,411,414 | 7,768 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/01f08a73-efd2-4a5d-a2b4-2e9c6eb38194)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@7768
```
</p></details>
<details><summary><b>@vue/compiler-ssr</b></summary><p>
```
pnpm add https://pkg.p... | 2024-08-21T02:52:25 | 2024-11-09T07:09:35 | {} | NONE |
vuejs | core | 2,466,771,931 | 12,349 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11766171816)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11736377518) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-10T15:11:46 | 2024-11-10T15:11:46 | {} | CONTRIBUTOR |
vuejs | core | 2,467,100,319 | 12,356 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/8fabc9ea-dd1d-42b2-bbd7-48aaf113b2eb)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@12356
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https://pkg.... | 2024-11-11T02:15:57 | 2024-11-11T02:19:37 | {} | NONE |
vuejs | core | 2,467,133,199 | 8,481 | edison1105 | a workaround
```ts
watch([() => props.foo, () => props.bar], () => {
console.log('CompB props changed');
},{flush:'sync'});
```
see [Playground](https://play.vuejs.org/#eNq1VMFu2zAM/RXOOzjFkrjFdsrcYM2QQ3fYinXADnUPrs0k7hxJkOQ0ReB/HyU5spN6zS7NITDJR4p64uMuuBJivKkwmASxymQhNCjUlZgmrFgLLjXsQGKa6WKDQ3hKdbaCGhaSryGktPC... | 2024-11-11T02:55:41 | 2024-11-11T02:57:08 | {} | MEMBER |
vuejs | core | 2,454,717,286 | 12,315 | edison1105 | This one will be fixed by #8803
see [Playground with #8803](https://deploy-preview-8803--vue-sfc-playground.netlify.app/#eNqdVtuO2zYQ/ZWBXrIL2HK6yRaFfEGTIChSIG3RBuhDlAdZGtlcU6RKUl5vjf33zpC62etN0DyNOZczozPDMY/Rm7qO9w1GSbSwuRG1A4uuqVepElWtjYMjGCzhEUqjK3hBri9Slap9ZkAK6yws2X71OVUAxx0+JPDDBPaZbNAm8DmNsjSaQBqtg8iDKILANPryOB... | 2024-11-04T13:27:50 | 2024-11-04T13:28:58 | {} | MEMBER |
vuejs | core | 2,451,578,084 | 12,306 | edison1105 | This seems to be a Chrome bug.
1. Create an HTML file with the following code.
2. Open the HTML file and take a heap snapshot.
3. Click the "show" button.
4. Click the "test" button.
5. Click the "remove" button.
6. Click "GC" and take another heap snapshot.
7. Compare the snapshots, there are several detached ... | 2024-11-01T09:24:18 | 2024-11-04T14:21:32 | {} | MEMBER |
vuejs | core | 2,458,121,710 | 12,333 | sqal | Regarding 1) You can't replace reference to reactive state like that, it's explained here https://vuejs.org/guide/essentials/reactivity-fundamentals.html#limitations-of-reactive If you want to update reactive state with a new object, use `Object.assign(student, newState)`. Other solution is using ref. The choice is you... | 2024-11-05T20:46:40 | 2024-11-05T20:48:19 | {
"heart": 3
} | CONTRIBUTOR |
vuejs | core | 2,461,726,727 | 9,591 | edison1105 | @p3k
Please provide a minimal reproduction. | 2024-11-07T09:26:20 | 2024-11-07T09:26:20 | {} | MEMBER |
vuejs | core | 2,467,100,448 | 12,357 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/2c312cc7-6680-4f72-8c0a-a67f02d48984)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@12357
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https://pkg.... | 2024-11-11T02:16:07 | 2024-11-11T02:16:07 | {} | NONE |
vuejs | core | 2,458,772,137 | 8,716 | edison1105 | It seems `VariantProps` is too complex to analyze.
> However, because the type to runtime conversion is still AST-based, some complex types that require actual type analysis, e.g. conditional types, are not supported. You can use conditional types for the type of a single prop, but not the entire props object.
se... | 2024-11-06T05:46:29 | 2024-11-06T05:46:29 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,462,181,896 | 9,591 | p3k | @edison1105 Please see the _Update_ I added to my previous post. Looks like there is a similar [VueLoader issue](https://github.com/vuejs/vue-loader/issues/2076). | 2024-11-07T13:00:44 | 2024-11-07T13:00:44 | {} | NONE |
vuejs | core | 2,463,581,052 | 12,344 | chenendian | >  component's render effect collects `model.foo` as a dependency
- When `foo` changes, `CompB` [updates directly](https://github.com/vuejs/core/blob/69e069f6d82c... | 2024-11-11T07:46:18 | 2024-11-11T07:46:18 | {} | MEMBER |
vuejs | core | 2,298,240,693 | 8,803 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/a5a1f844-76a8-4982-87ec-52e2978eaa8b)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@8803
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https://pkg.p... | 2024-08-20T08:10:50 | 2024-11-04T13:24:46 | {} | NONE |
vuejs | core | 2,454,723,315 | 8,803 | edison1105 | /ecosystem-ci run | 2024-11-04T13:30:26 | 2024-11-04T13:30:26 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,454,737,694 | 8,803 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11665244049)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11658343609) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-04T13:36:55 | 2024-11-04T13:36:55 | {} | CONTRIBUTOR |
vuejs | core | 2,456,383,956 | 9,084 | BobbieGoede | @edison1105
Thanks for giving it a look! You're right it looks like it's no longer reproducible, I'm not sure how it's been resolved as even when pinning the older versions it seems to work 😅..
Either way I'm happy that it works, so I'll close this! | 2024-11-05T06:59:02 | 2024-11-05T06:59:02 | {} | CONTRIBUTOR |
vuejs | core | 2,456,674,879 | 8,474 | edison1105 | Close as not planned | 2024-11-05T09:33:28 | 2024-11-05T09:33:28 | {} | MEMBER |
vuejs | core | 2,468,189,087 | 12,349 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/11779448859)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/11772427668) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-11T13:31:26 | 2024-11-11T13:31:26 | {} | CONTRIBUTOR |
vuejs | core | 2,453,911,331 | 10,336 | edison1105 | @nestle49
`useElementSize()`.width should return 0 on the server side, and the correct element size on the client side.
@DaniilIsupov
The following code will only execute on the client, not the server. Therefore, the `count` will differ.
```js
onMounted(() => {
console.log('App.vue')
count.value +=... | 2024-11-04T06:30:00 | 2024-11-04T06:32:21 | {} | MEMBER |
vuejs | core | 2,298,239,787 | 8,803 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 100 kB (**+146 B**) | 38 kB (**+45 B**) | 34.2 kB (**+17 B**) |
... | 2024-08-20T08:10:23 | 2024-11-04T13:24:34 | {} | NONE |
vuejs | core | 2,457,218,548 | 12,330 | edison1105 | That's Fragment's start and end anchor. Can using `document.querySelector("#app > div").children` solve your problem? | 2024-11-05T13:43:12 | 2024-11-05T13:43:12 | {} | MEMBER |
vuejs | core | 2,457,300,209 | 12,330 | edison1105 | > Can the anchors be omitted for single element fragments? It seems they are pretty common (e.g. v-for + v-if)
No, this is intentionally designed to be this way. | 2024-11-05T14:18:37 | 2024-11-05T14:18:37 | {} | MEMBER |
vuejs | core | 2,458,670,958 | 7,768 | edison1105 | The underlying problem is that the following line has side effects.
https://github.com/vuejs/core/blob/10a46f43c0d41f1e38616042d38b087c0ec1c829/packages/runtime-core/src/rendererTemplateRef.ts#L114
| 2024-11-06T03:47:16 | 2024-11-06T03:47:16 | {} | MEMBER |
vuejs | core | 2,458,809,020 | 12,306 | edison1105 | The Chromium team has confirmed that this is a regression. see https://issues.chromium.org/issues/376777343#comment9
Therefore, I will be closing this issue. Thank you for reporting it.
| 2024-11-06T06:21:47 | 2024-11-06T06:21:47 | {} | MEMBER |
vuejs | core | 2,461,107,992 | 12,340 | edison1105 | duplicate of #9591
see https://github.com/vuejs/core/issues/9591#issuecomment-1808107499 | 2024-11-07T01:01:50 | 2024-11-07T01:01:50 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.