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,591,551,826 | 12,712 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed. **[Why did it fail? →](https://app.netlify.com/sites/vue-sfc-playground/deploys/6787278eb84e1a000878cf02?deploy_diagnostics=true)**
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | ... | 2025-01-15T03:13:35 | 2025-01-15T03:13:35 | {} | NONE |
vuejs | core | 2,597,525,263 | 12,570 | johnsoncodehk | @KaelWD It has not been updated yet, we may update it before releasing 3.6. | 2025-01-17T06:25:32 | 2025-01-17T06:25:32 | {} | MEMBER |
vuejs | core | 2,599,055,581 | 12,735 | danolu | Your error is caused by how the `reduce` function is used.
"The first time that the callback is run there is no "return value of the previous calculation". If supplied, an initial value may be used in its place. Otherwise the array element at index 0 is used as the initial value **and iteration starts from the next el... | 2025-01-17T19:30:51 | 2025-01-17T19:30:51 | {
"heart": 1
} | NONE |
vuejs | core | 2,600,543,350 | 12,738 | Justineo | I'm not suggesting renaming, but add a new alternative with enhanced behavior.
And I believe a separate RFC thread is necessary. | 2025-01-19T03:06:57 | 2025-01-19T03:06:57 | {} | MEMBER |
vuejs | core | 2,601,146,373 | 12,738 | btea | Yeah, at first I just wanted to simply expand the warning message, so I created this PR in a rough way.
After discussing with @jacekkarczmarczyk, I am still a little undecided about how to implement this requirement. Maybe we need to [discuss](https://github.com/vuejs/rfcs/discussions/740) it together and confirm it... | 2025-01-20T01:30:37 | 2025-01-20T01:30:37 | {} | CONTRIBUTOR |
vuejs | core | 2,585,322,192 | 12,689 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/41788559-f503-42d3-8463-7f2f9b13f709)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12689
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2025-01-11T16:18:43 | 2025-01-20T01:37:33 | {} | NONE |
vuejs | core | 2,601,996,827 | 12,750 | 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 | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2025-01-20T10:18:48 | 2025-01-20T10:18:48 | {} | NONE |
vuejs | core | 2,588,489,859 | 12,704 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/e225060d-4554-47a3-a299-e5e1437f4a59)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12704
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2025-01-14T00:22:56 | 2025-01-14T00:22:56 | {} | NONE |
vuejs | core | 2,548,075,947 | 12,570 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/c6bb7084-4998-408e-85eb-776ae2ca8935)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12570
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2024-12-17T10:25:16 | 2025-01-14T19:29:54 | {} | NONE |
vuejs | core | 2,590,945,944 | 12,570 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/12774946276)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/12740933122) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2025-01-14T19:32:55 | 2025-01-14T19:32:55 | {} | CONTRIBUTOR |
vuejs | core | 2,603,431,006 | 12,697 | edison1105 | this PR breaks https://github.com/akotulu/core/blob/980cd03c97924530bb58444bd4bf1267d121c0ee/packages-private/dts-test/defineComponent.test-d.tsx#L1616 | 2025-01-21T01:05:46 | 2025-01-21T01:05:46 | {} | MEMBER |
vuejs | core | 2,603,833,621 | 12,754 | markbrockhoff | Thanks for the answer, however I think just the warning isn't enough. For example in my case the second call to `useTemplateRef` was added while rebasing. Afterwards the app wasn't run locally again. So unless there's CI to run some test against the production build such behavior can easily break prod.
That's why I'd r... | 2025-01-21T07:18:33 | 2025-01-21T07:18:33 | {
"+1": 2
} | NONE |
vuejs | core | 2,586,702,743 | 12,697 | jh-leong | This change will break the existing test case in `packages-private/dts-test/defineComponent.test-d.tsx`. You can verify this by running `pnpm run test-dts`.
By the way, could you provide a test case or a minimal reproduction to clarify the issue this PR is addressing? Thanks! | 2025-01-13T10:16:48 | 2025-01-13T10:16:48 | {} | MEMBER |
vuejs | core | 2,591,190,520 | 12,697 | akotulu | It took whole weekend to figure out where this issue with Intellij ideas came from. I will look at the tests when I have time again. Probably end of the week. | 2025-01-14T21:59:58 | 2025-01-14T21:59:58 | {} | NONE |
vuejs | core | 2,591,621,190 | 12,713 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/181fa5b4-e6d5-40e8-9b23-55b41f96df3c)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12713
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2025-01-15T04:24:31 | 2025-01-15T04:24:31 | {} | NONE |
vuejs | core | 2,591,723,957 | 12,710 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/12782440177)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/12781829507) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2025-01-15T06:06:44 | 2025-01-15T06:06:44 | {} | CONTRIBUTOR |
vuejs | core | 1,772,044,314 | 8,475 | 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 | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2023-10-20T04:05:14 | 2025-01-16T00:25:51 | {} | NONE |
vuejs | core | 2,597,388,439 | 12,730 | edison1105 | I can't reproduce it in the [Playground](https://play.vuejs.org/#eNq9Vs1u2zgQfpWpDrWLRjIWu3vROtmmaQu0QJuizaWIelCkkcWUJgX+2AkMv3uHpCgpcere6ovJ4fx8M5z5qF1y3nXZxmKSJ8tnaVqIcxCoDdZgFCJUct1JgcKAaUsDCiurNNsgv6e1qFFpYEYjb7JCfJMWqlJALe0NJ1POqh8gBZCIGVyDkWCschtggjYlNJKTCzJN07NCFGKpK8U6AxqN7UjCKLgysKNYDeyhUXINMwI7G46uCOR75zycZQu... | 2025-01-17T04:02:36 | 2025-01-17T04:02:36 | {} | MEMBER |
vuejs | core | 2,588,498,064 | 12,704 | edison1105 | LGTM | 2025-01-14T00:30:23 | 2025-01-14T00:30:23 | {} | MEMBER |
vuejs | core | 2,590,933,116 | 12,570 | johnsoncodehk | /ecosystem-ci run | 2025-01-14T19:26:00 | 2025-01-14T19:26:00 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,591,715,934 | 12,710 | edison1105 | /ecosystem-ci run | 2025-01-15T05:59:58 | 2025-01-15T05:59:58 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,404,507,979 | 8,475 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/c2c8826b-e874-44ba-bbd0-9db4e69d2c32)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@8475
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new/... | 2024-10-10T08:57:31 | 2025-01-16T00:26:08 | {} | NONE |
vuejs | core | 2,599,758,954 | 12,738 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/af415334-8e40-460a-ae1c-ba2ed07ea22a)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12738
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2025-01-18T15:26:19 | 2025-01-19T05:25:38 | {} | NONE |
vuejs | core | 2,600,602,212 | 12,738 | btea | > I'm not suggesting renaming, but add a new alternative with enhanced behavior.
Sorry, I misunderstood what you meant.
> And I believe a separate RFC thread is necessary.
link https://github.com/vuejs/rfcs/pull/739
| 2025-01-19T05:29:37 | 2025-01-19T05:53:05 | {} | CONTRIBUTOR |
vuejs | core | 2,601,151,748 | 12,747 | 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 | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2025-01-20T01:37:44 | 2025-01-20T01:37:44 | {} | NONE |
vuejs | core | 2,603,813,892 | 12,758 | aixiaodeyanjin | 
[example](https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgEwKYDNgDtUAUoRgDOANHAO7AwAWAIhgIYCuANjEXAL5zoEhwByAG5NUAgFCT0TLAGMYwCFjizwAJgA8AFTioAHjFRZkHAQwFwAPoIBGAsloDqVagFVjGbKmRwAvHB1rGTRMHGQHZxoAOVYWPwCrOCxYgD4ACgBK... | 2025-01-21T07:04:58 | 2025-01-21T07:23:54 | {} | NONE |
vuejs | core | 2,588,682,033 | 4,339 | hezhongfeng | Routing and navigation for your Vue SPA. Vue3.0 单页应用导航管理器
https://github.com/hezhongfeng/vue-page-stack | 2025-01-14T02:16:04 | 2025-01-14T02:16:04 | {} | NONE |
vuejs | core | 2,591,621,061 | 12,713 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ---------------- | ------------------- |
| runtime-dom.global.prod.js | 100 kB | 38 kB (**+2 B**) | 34.2 kB (**-17 B**) |
| vue.global.prod.js | 158 kB | 57.8 kB ... | 2025-01-15T04:24:22 | 2025-01-15T04:24:22 | {} | NONE |
vuejs | core | 2,599,635,419 | 12,736 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/a73b6501-9431-4749-8adb-da2700c416ad)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12736
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2025-01-18T08:53:36 | 2025-01-18T08:53:36 | {} | NONE |
vuejs | core | 2,603,087,220 | 12,697 | DC240 | > It took whole weekend to figure out where this issue with Intellij ideas came from. I will look at the tests when I have time again. Probably end of the week.
Do you have any updates on this by any chance? | 2025-01-20T19:03:31 | 2025-01-20T19:03:31 | {} | NONE |
vuejs | core | 2,548,075,589 | 12,570 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | -------------------- | -------------------- |
| runtime-dom.global.prod.js | 101 kB (**+371 B**) | 38.2 kB (**+131 B**) | 34.4 kB (**+111 B... | 2024-12-17T10:25:06 | 2025-01-14T19:29:47 | {} | NONE |
vuejs | core | 2,589,989,219 | 12,710 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/f7df9e99-d00c-48a0-979a-8a9aa023cfed)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12710
```
</p></details>
<details><summary><b>@vue/compiler-sfc</b></summary><p>
```
npm i https://pkg.pr.new... | 2025-01-14T13:57:14 | 2025-01-15T05:58:42 | {} | NONE |
vuejs | core | 2,598,641,609 | 12,730 | Hulkmaster | it indeed works in playground, i'll try on clean app to reproduce | 2025-01-17T15:43:19 | 2025-01-17T15:43:19 | {} | NONE |
vuejs | core | 2,599,758,900 | 12,738 | 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 | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2025-01-18T15:26:09 | 2025-01-18T15:26:09 | {} | NONE |
vuejs | core | 2,600,832,163 | 12,740 | czgaotian | > Thank you for your PR, but there is already a PR for #11366, see #11369
Thank you for the feedback, I'll close this pr. | 2025-01-19T12:08:14 | 2025-01-19T12:08:14 | {} | NONE |
vuejs | core | 2,585,321,503 | 12,685 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/bee94c81-cf64-4354-bf33-8a1ea991d038)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12685
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2025-01-11T16:16:22 | 2025-01-20T00:25:40 | {} | NONE |
vuejs | core | 2,601,151,552 | 12,745 | 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 | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2025-01-20T01:37:29 | 2025-01-20T01:37:29 | {} | NONE |
vuejs | core | 2,505,891,962 | 12,349 | johnsoncodehk | /ecosystem-ci run | 2024-11-28T11:26:22 | 2024-11-28T11:26:22 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,507,296,537 | 12,482 | jods4 | @edison1105 Maybe that would be a solution, too.
It's an important change because what was a sync hook would become async/delayed but I can't tell if this is an issue or not.
To mitigate this, one approach could be to queue `beforeUpdate` and `updated` only when `mounted` hasn't been called yet? | 2024-11-29T08:17:05 | 2024-11-29T08:17:05 | {} | CONTRIBUTOR |
vuejs | core | 2,505,932,022 | 12,349 | johnsoncodehk | /ecosystem-ci run | 2024-11-28T11:48:14 | 2024-11-28T11:48:14 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,507,266,018 | 12,485 | sarkiroka | Thanks, I think I understand now.
Are you planning to be able to request the number of slots without a complete parameterized render process? Because if I understand correctly, two renders happen now in my example:
- one when I request the colunt of slots,
- and another when it appears on the website | 2024-11-29T07:55:38 | 2024-11-29T07:55:38 | {} | NONE |
vuejs | core | 2,511,489,914 | 12,491 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 100 kB (**+144 B**) | 38 kB (**+27 B**) | 34.3 kB (**+55 B**) |
... | 2024-12-02T13:05:14 | 2024-12-02T13:05:14 | {} | NONE |
vuejs | core | 2,511,985,640 | 12,489 | jhillacre | > When using ref inside slots, the compiler cannot determine if it is inside a v-for at compile time. I don't think this is a bug.
Thanks for the response. I understand how this limitation might fall outside the scope of the `useTemplateRefs`. Regarding the 'needs documentation' tag, I think this issue can be resolv... | 2024-12-02T16:14:00 | 2024-12-02T16:14:00 | {
"+1": 1
} | NONE |
vuejs | core | 2,514,703,160 | 12,494 | yangxiuxiu1115 | 可以监听组件内部的onMounted事件 | 2024-12-03T14:21:08 | 2024-12-03T14:21:08 | {} | CONTRIBUTOR |
vuejs | core | 2,530,574,653 | 5,892 | edison1105 | In DEV, the `custom formatter` works and it will display as `VueInstance`. This difference in display does not affect its value.
https://github.com/vuejs/core/blob/7a64b6734d2e85bfea024b1e9d8ae1c66ba85a8f/packages/runtime-core/src/componentPublicInstance.ts#L422-L425
[minimal reproduction]( https://play.vuejs.org/#... | 2024-12-10T06:40:34 | 2024-12-10T06:40:34 | {} | MEMBER |
vuejs | core | 2,509,673,715 | 12,491 | ShuiRuTian | @Justineo Thanks. I hardly use `iframe` and did not think about them...
Use `Symbol.toStringTag` instead if possible, and it's even faster. However, I found the profiling time vary a lot on my local machine, is there some robot I could call out to profile? | 2024-12-01T10:20:36 | 2024-12-01T10:34:14 | {} | NONE |
vuejs | core | 2,510,330,335 | 12,492 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ------- | ------- |
| runtime-dom.global.prod.js | 100 kB | 37.9 kB | 34.2 kB |
| vue.global.prod.js | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2024-12-02T00:23:46 | 2024-12-02T00:23:46 | {} | NONE |
vuejs | core | 2,513,842,296 | 12,494 | Muspcn | > hydrate方法只会在ssr模式下才会调用 [playground](https://play.vuejs.org/#__PROD____SSR__eNp9VF1r01AY/ivH3DSF2iJ6VetgakEFnWwDb3KxkJy22U5OwslJt1IClX2UjU1vHIpuUkFhDnS7mKM66/5Mk3ZX/gXfk6Rpu9UlIZzzvM95v99Tl6ZtO1t1sZSXCo7GDJsjB3PXnlKoYdoW46iu45JB8bRTo9oDCzCKKc+gCB0BTJUtzarLGcRwyUMlZplIkUCzIt1VqHg1izocmU4Z3RMcOfUIE2KhFxYj+o1UepTEVWcpUR3... | 2024-12-03T08:23:32 | 2024-12-03T08:23:32 | {} | NONE |
vuejs | core | 2,514,000,691 | 12,495 | Bayn-Web | It's weird, because edge shows

| 2024-12-03T09:35:40 | 2024-12-03T09:35:40 | {} | NONE |
vuejs | core | 2,522,300,306 | 12,491 | edison1105 | LGTM | 2024-12-06T07:17:16 | 2024-12-06T07:17:16 | {} | MEMBER |
vuejs | core | 2,527,971,237 | 12,516 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/6ff6f8fc-cfd0-4b35-9c1f-eb86d87ff271)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12516
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2024-12-09T13:33:54 | 2024-12-10T06:01:45 | {} | NONE |
vuejs | core | 2,505,815,517 | 12,483 | johnsoncodehk | /ecosystem-ci run | 2024-11-28T10:47:42 | 2024-11-28T10:47:42 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,526,571,636 | 12,509 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/12226929115)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/12193235054) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/1... | 2024-12-09T01:03:39 | 2024-12-09T01:03:39 | {} | CONTRIBUTOR |
vuejs | core | 2,526,697,831 | 12,507 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ------- | ------- |
| runtime-dom.global.prod.js | 100 kB | 37.9 kB | 34.2 kB |
| vue.global.prod.js | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size ... | 2024-12-09T02:54:05 | 2024-12-09T02:54:05 | {} | NONE |
vuejs | core | 2,526,861,906 | 12,505 | dmitryuk | @edison1105 thanks you so much for instant help!
I very hope the PR will be merged next release | 2024-12-09T04:26:58 | 2024-12-09T16:05:37 | {} | NONE |
vuejs | core | 2,506,945,678 | 12,482 | edison1105 | > then maybe one solution may be this: no beforeUpdate or updated hooks are called; and when mounted is invoked it contains the current values, not a snapshot of values when it was enqueued?
If beforeUpdate or updated is not called, it might cause some edge cases, I think it should put the `beforeUpdate` and `update... | 2024-11-29T01:59:49 | 2024-11-29T01:59:49 | {} | MEMBER |
vuejs | core | 2,508,916,862 | 12,490 | edison1105 | duplicate of #11552 | 2024-11-30T10:35:23 | 2024-11-30T10:35:23 | {} | MEMBER |
vuejs | core | 2,509,794,889 | 12,489 | edison1105 | When using ref inside slots, the compiler cannot determine if it is inside a v-for at compile time.
I don't think this is a bug. | 2024-12-01T14:32:10 | 2024-12-01T14:32:10 | {
"+1": 2
} | MEMBER |
vuejs | core | 2,524,837,563 | 12,506 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/08a4caee-6ac1-4d86-be59-9c4d99e342cf)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12506
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2024-12-07T03:22:39 | 2024-12-07T03:22:39 | {} | NONE |
vuejs | core | 2,505,829,152 | 12,483 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/12067384679)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/12044045075) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-28T10:54:23 | 2024-11-28T10:54:23 | {} | CONTRIBUTOR |
vuejs | core | 2,505,944,459 | 12,349 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/12068297455)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/12044045075) |
|-------|--------|----------------|
| language-tools | :white_check_mark: [success](https://github.com/vuejs/ecosystem-ci... | 2024-11-28T11:55:01 | 2024-11-28T11:55:01 | {} | CONTRIBUTOR |
vuejs | core | 2,506,912,311 | 12,485 | edison1105 | It should be
```js
console.log(slots.default({aFunction:()=>{}}));
``` | 2024-11-29T01:15:41 | 2024-11-29T01:15:41 | {} | MEMBER |
vuejs | core | 2,509,132,341 | 12,459 | lazytong-tech | I created a demo at https://cloudstudio.net/a/23155491845591040 | 2024-11-30T18:20:57 | 2024-11-30T18:20:57 | {} | NONE |
vuejs | core | 2,510,330,869 | 12,493 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/89c44d8a-9ff1-4dd9-9647-dbff124bf4bf)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12493
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2024-12-02T00:24:27 | 2024-12-02T00:24:27 | {} | NONE |
vuejs | core | 2,513,406,084 | 12,494 | jh-leong | Closing as explained above | 2024-12-03T02:24:29 | 2024-12-03T02:24:29 | {} | MEMBER |
vuejs | core | 2,509,812,150 | 12,491 | ShuiRuTian | Here is my benchmark example: https://jsbench.me/krm45pp7nd/1
And here is the result:
- Current: 2266万 ops/s ± 3.28%
- instanceof: 2.3亿 ops/s ± 1.22%
- @@toStringTag: 2.2亿 ops/s ± 2.1%
Looks good.
And here is benchmark comparation result, I only picked the result that is changed larger than 5% and rme is ... | 2024-12-01T15:18:10 | 2024-12-05T09:39:33 | {} | NONE |
vuejs | core | 2,519,739,999 | 12,491 | ShuiRuTian | @edison1105
here is my 5 cents about benchmark:
https://measurethat.net/Benchmarks/Show/32902/0/test-map-vs-object-with-string-which-use-string-as-key
For set-value, the perf is similar, for get-value, Map is 200% faster(wow...) as shown in this case. If for the cache in Vue, the key is more frequently to be di... | 2024-12-05T09:28:15 | 2024-12-05T09:45:40 | {} | NONE |
vuejs | core | 2,524,837,467 | 12,506 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------ | ------------------ | ------------------ |
| runtime-dom.global.prod.js | 100 kB (**+17 B**) | 37.9 kB (**+3 B**) | 34.2 kB (**+5 B**) |
| vue.glo... | 2024-12-07T03:22:24 | 2024-12-07T03:22:24 | {} | NONE |
vuejs | core | 2,526,124,577 | 12,509 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/cbb502a4-7c4a-40af-b51e-7f3f6d0d9bb5)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12509
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2024-12-08T14:45:59 | 2024-12-08T15:10:23 | {} | NONE |
vuejs | core | 2,526,571,539 | 12,512 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ------- | ------- |
| runtime-dom.global.prod.js | 100 kB | 37.9 kB | 34.2 kB |
| vue.global.prod.js | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size ... | 2024-12-09T01:03:30 | 2024-12-09T01:03:30 | {} | NONE |
vuejs | core | 2,526,744,646 | 12,505 | edison1105 | Thanks for the PR. I've made some minor tweaks https://github.com/vuejs/core/pull/12505/commits/9e909466d103658fac2604f72e9287e8559edc90
LGTM | 2024-12-09T03:25:08 | 2024-12-09T03:25:08 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,505,831,740 | 12,483 | johnsoncodehk | ecosystem-ci passed and will now be merged into #12349 | 2024-11-28T10:55:40 | 2024-11-28T10:55:40 | {} | MEMBER |
vuejs | core | 2,505,919,228 | 12,349 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/12068125392)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/12044045075) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/1... | 2024-11-28T11:41:11 | 2024-11-28T11:41:11 | {} | CONTRIBUTOR |
vuejs | core | 2,506,099,146 | 12,484 | edison1105 | a workaround:
```ts
const vnode = getCurrentInstance().vnode
const hasClickListener = vnode ? !!vnode.props.onClick : false
```
see [playground](https://play.vuejs.org/#eNqNUttOGzEQ/RVjVVqQkKMq7Usa6CXKA1XVVi0SDxihZTNJDLu25ZkNkVb774y9CYQkRLzZc86Z62nkd+/VogY5kEMsgvEkEKj259qayrtAYuQqf2VoPq4MiWlwlchUbzMY5dmXHb6raa9kF... | 2024-11-28T13:12:06 | 2024-11-28T13:12:06 | {} | MEMBER |
vuejs | core | 2,506,852,964 | 12,482 | jods4 | To be honest I don't know what the best resolution is.
This feels a bit like a hack/work-around: `vModelText` is modified so that out-of-order hooks do not impact the `<input>` value, but the root cause of problem is still there and may affect other directives or components.
I think the intuition / expectation of... | 2024-11-28T23:34:07 | 2024-11-28T23:34:07 | {} | CONTRIBUTOR |
vuejs | core | 2,507,215,077 | 12,486 | jh-leong | This is the expected behavior: https://vuejs.org/guide/components/props.html#boolean-casting
Only props explicitly defined with a boolean type will support special boolean casting. | 2024-11-29T07:13:13 | 2024-11-29T07:13:13 | {} | MEMBER |
vuejs | core | 2,513,451,781 | 12,496 | yangxiuxiu1115 | can you provide a simple reproducible repository? | 2024-12-03T03:07:13 | 2024-12-03T03:07:13 | {} | CONTRIBUTOR |
vuejs | core | 2,518,916,666 | 12,495 | edison1105 | @Bayn-Web
You should first enable `Custom formatters`.

I agree with @yangxiuxiu1115, this is the expected behavior. | 2024-12-05T01:55:00 | 2024-12-05T01:55:00 | {} | MEMBER |
vuejs | core | 2,276,469,499 | 11,569 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 100 kB | 37.9 kB | 34.2 kB |
... | 2024-08-08T19:00:06 | 2024-12-05T21:58:24 | {} | NONE |
vuejs | core | 2,525,559,489 | 12,507 | Justineo | @ShuiRuTian Yes you are right. I've made an updated benchmark: https://jsben.ch/pbGau
Some additional findings:
- The shorter the escaped string, the more noticeable the performance gap, which aligns with intuition—short strings can be fully processed with a single pass, so pre-checking for matches offers no real b... | 2024-12-08T09:36:09 | 2024-12-08T10:23:59 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,526,120,642 | 12,509 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ------- | ------- |
| runtime-dom.global.prod.js | 100 kB | 37.9 kB | 34.2 kB |
| vue.global.prod.js | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2024-12-08T14:44:43 | 2024-12-08T14:44:43 | {} | NONE |
vuejs | core | 2,526,571,009 | 12,512 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/8a9ca5d1-acf5-4f63-8dd2-9eef62a7b669)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12512
```
</p></details>
<details><summary><b>@vue/compiler-sfc</b></summary><p>
```
npm i https://pkg.pr.new... | 2024-12-09T01:02:46 | 2024-12-09T01:02:46 | {} | NONE |
vuejs | core | 2,530,538,450 | 6,031 | edison1105 | I'm going to close this one because it is unrelated to vuejs/core.
for petite-vue should use https://github.com/vuejs/petite-vue/discussions | 2024-12-10T06:13:36 | 2024-12-10T06:13:36 | {} | MEMBER |
vuejs | core | 2,508,784,359 | 12,482 | edison1105 | @jods4
> one approach could be to queue beforeUpdate and updated only when mounted hasn't been called yet?
Yes, that's what I meant above. | 2024-11-30T02:01:04 | 2024-11-30T02:01:04 | {} | MEMBER |
vuejs | core | 2,510,330,788 | 12,493 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ------- | ------- |
| runtime-dom.global.prod.js | 100 kB | 37.9 kB | 34.2 kB |
| vue.global.prod.js | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2024-12-02T00:24:21 | 2024-12-02T00:24:21 | {} | NONE |
vuejs | core | 2,516,085,415 | 12,461 | Justineo | > language-tools ❌ [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/12152176471/job/33888088842)
Doesn't seem to be related to this PR. | 2024-12-04T03:20:35 | 2024-12-04T03:20:35 | {} | MEMBER |
vuejs | core | 2,525,299,228 | 12,408 | TechQuery | Object & Array failed too: https://github.com/vuejs/vue-web-component-wrapper/issues/69#issuecomment-2525297830 | 2024-12-07T20:17:57 | 2024-12-07T20:18:48 | {} | NONE |
vuejs | core | 2,525,419,196 | 12,507 | Justineo | I’m AFK right now, but what you said sounds possible. I’ll take a look when I get back. | 2024-12-08T04:59:35 | 2024-12-08T04:59:35 | {} | MEMBER |
vuejs | core | 2,526,597,246 | 12,509 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/12227229574)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/12193235054) |
|-------|--------|----------------|
| vite-plugin-vue | :white_check_mark: [success](https://github.com/vuejs/ecosystem-c... | 2024-12-09T01:31:44 | 2024-12-09T01:31:44 | {} | CONTRIBUTOR |
vuejs | core | 2,527,970,479 | 12,516 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------ | ------- | ------- |
| runtime-dom.global.prod.js | 100 kB | 37.9 kB | 34.2 kB |
| vue.global.prod.js | 158 kB | 57.8 kB | 51.4 kB |
### Usages
| Name | Size | G... | 2024-12-09T13:33:34 | 2024-12-09T13:33:34 | {} | NONE |
vuejs | core | 2,465,979,472 | 12,349 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | -------------------- | -------------------- |
| runtime-dom.global.prod.js | 101 kB (**+729 B**) | 38.1 kB (**+119 B**) | 34.3 kB (**+80 B*... | 2024-11-09T01:45:33 | 2024-11-28T11:36:32 | {} | NONE |
vuejs | core | 2,513,447,582 | 12,495 | yangxiuxiu1115 | I think it's as expected, there is a lazy feature in the computed attribute that calculates the value only when accessed, and this lazy calculation shouldn't be triggered in the custom formatter, so the displayed value is always undefined
[playground](https://play.vuejs.org/#eNp9kd1qwzAMhV/F+GYthJQSdtOlga10sMF+2HZpG... | 2024-12-03T03:03:55 | 2024-12-03T03:03:55 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 2,511,490,066 | 12,491 | pkg-pr-new[bot] |
[Open in Stackblitz](https://pkg.pr.new/template/48946d58-c81a-4165-9350-6a52e9ef4491)
<details><summary><b>@vue/compiler-core</b></summary><p>
```
npm i https://pkg.pr.new/@vue/compiler-core@12491
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
npm i https://pkg.pr.new... | 2024-12-02T13:05:18 | 2024-12-06T07:17:55 | {} | NONE |
vuejs | core | 2,526,564,445 | 12,508 | edison1105 | As @KazariEX said. this is by design. | 2024-12-09T00:54:00 | 2024-12-09T00:54:00 | {} | MEMBER |
vuejs | core | 2,526,709,185 | 12,505 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ----------------- | ------------------ | ------------------- |
| runtime-dom.global.prod.js | 100 kB (**+9 B**) | 37.9 kB (**-1 B**) | 34.2 kB (**+22 B**) |
| vue.glo... | 2024-12-09T03:06:14 | 2024-12-09T03:26:05 | {} | NONE |
vuejs | core | 2,529,927,868 | 12,461 | edison1105 | @adamdehaven
I've approved this PR. then, we need to wait for Evan's review. It should be included in the next release. | 2024-12-10T00:44:04 | 2024-12-10T00:44:04 | {
"hooray": 3
} | MEMBER |
vuejs | core | 2,530,605,850 | 5,606 | edison1105 | The issue can no longer be reproduced using the latest version of Vue.
see [codepen.io](https://codepen.io/Gagydzer/pen/GRyqNNm) | 2024-12-10T07:03:17 | 2024-12-10T07:03:17 | {} | MEMBER |
vuejs | core | 2,507,180,888 | 12,461 | Justineo | @skirtles-code Thank you for the demos! I’ll update the code to align with our latest conclusions. | 2024-11-29T06:41:20 | 2024-11-29T06:41:20 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,509,767,492 | 12,491 | Justineo | You could consider setting up some benchmarks on platforms like [jsbench.me](https://jsbench.me). | 2024-12-01T13:21:39 | 2024-12-01T13:22:16 | {} | MEMBER |
vuejs | core | 2,526,566,712 | 12,509 | edison1105 | /ecosystem-ci run | 2024-12-09T00:57:04 | 2024-12-09T00:57:04 | {
"+1": 1
} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.