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,491,893,365 | 1,342 | Trobyss | Hi !
I asking if this comment doesn't affect DOM size when the navigator downloads the current page. In my case, on a complex page, I have more than 300 empty comments...
'Trob | 2023-03-31T13:02:25 | 2023-03-31T13:03:50 | {} | NONE |
vuejs | core | 1,493,425,127 | 7,997 | bigsnowballhehe | > Yes - although I'd write:
>
> ```js
> export function useQuery (variables) {
> watch(() => toValue(variables), (value) => {})
> }
> ```
>
> which would be more efficient as it doesn't create an intermediate ref.
Sorry, I may not understand correctly, but it could have worked like this?
```js
export f... | 2023-04-02T19:49:42 | 2023-04-02T19:49:42 | {
"eyes": 2
} | NONE |
vuejs | core | 1,495,488,620 | 8,023 | baiwusanyu-c | The logic of template compilation will compile `@click` into an `onContextmenu` event. In principle, writing in `tsx` needs to correspond to the template compilation result. In addition, the `onClick` event usually refers to the event when the main mouse button (usually the left button) is clicked, and the right click ... | 2023-04-04T07:34:34 | 2023-04-04T07:34:34 | {} | MEMBER |
vuejs | core | 1,486,166,867 | 7,113 | yyx990803 | ~~Closing as we are deprecating `withDefaults()`~~ | 2023-03-28T03:57:23 | 2023-03-31T01:09:19 | {} | MEMBER |
vuejs | core | 1,494,016,689 | 7,939 | yyx990803 | The [template global whitelist](https://github.com/vuejs/core/blob/main/packages/shared/src/globalsWhitelist.ts) has always only included language-level globals (as defined in ECMA-262). When Vue was initially created, `console` was also not standardized in anyway, and isn't even guaranteed to be present in some enviro... | 2023-04-03T09:50:12 | 2023-04-03T09:50:12 | {
"+1": 11,
"hooray": 4
} | MEMBER |
vuejs | core | 1,495,411,836 | 8,015 | longshihui | I have same requirements | 2023-04-04T06:19:15 | 2023-04-04T06:19:15 | {} | NONE |
vuejs | core | 1,497,012,281 | 7,921 | rico0808 | Does also not work on Mac-OS+Chrome | 2023-04-05T07:00:16 | 2023-04-05T09:45:11 | {
"confused": 1
} | NONE |
vuejs | core | 1,492,920,958 | 7,982 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4582737664)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4582737664/jobs/8093149543) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4582737664/jobs/8093... | 2023-04-01T10:44:08 | 2023-04-01T10:51:49 | {} | CONTRIBUTOR |
vuejs | core | 1,493,069,096 | 8,001 | skirtles-code | Very similar to #5342. | 2023-04-01T18:32:40 | 2023-04-01T18:32:40 | {} | CONTRIBUTOR |
vuejs | core | 1,493,971,683 | 8,009 | JayFate | @yyx990803 Updated | 2023-04-03T09:18:25 | 2023-04-03T09:18:25 | {} | CONTRIBUTOR |
vuejs | core | 1,494,764,783 | 6,736 | DamianGlowala | @yyx990803 any chances to review this PR and consider including it in v3.3.0 release should there be no blocking issues? 🙏 | 2023-04-03T18:12:42 | 2023-04-03T18:12:42 | {
"+1": 18,
"eyes": 1,
"heart": 1
} | CONTRIBUTOR |
vuejs | core | 1,495,703,166 | 8,022 | yyx990803 | Thanks for the PR, the code actually already contains logic to check if the binding is a prop. Your fix isn't technically correct since it doesn't account for nested scope variables shadowing destructured props. See f3145a91 (I reused the test from your PR) | 2023-04-04T10:12:02 | 2023-04-04T10:12:02 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,497,253,530 | 5,912 | yyx990803 | /ecosystem-ci run | 2023-04-05T10:20:01 | 2023-04-05T10:20:01 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,497,486,409 | 8,039 | LinusBorg | Your analysis is correct, but this is expected behavior. You send a new object as `source` on every parent re-render, so the watch triggers again and again.
Solution: move the source object to your script block so it stays consistent.
If you need help, ask in the "Discussions" Section of this repo or ask on chat.... | 2023-04-05T13:27:34 | 2023-04-05T13:27:34 | {} | MEMBER |
vuejs | core | 1,490,751,226 | 7,982 | sxzz | @pikax I see and I updated the code. But there are lots of uses of call the slot directly without a scope param in many 3rd party libraries, even in unit tests of vue core.
https://github.com/vuejs/core/blob/f5971468e53683d8a54d9cd11f73d0b95c0e0fb7/packages/runtime-core/__tests__/componentProps.spec.ts#L586
[Vue ... | 2023-03-30T18:36:31 | 2023-03-30T18:37:12 | {} | MEMBER |
vuejs | core | 1,491,242,894 | 6,529 | edison1105 | > @edison1105 do you know if this PR could be merged sometime soon ?
Sry Im not sure. | 2023-03-31T03:38:16 | 2023-03-31T03:38:16 | {} | MEMBER |
vuejs | core | 1,491,614,153 | 7,661 | LinusBorg | I understand you are waiting for a resolution. But if you keep this up you will be banned from the vuejs org. This is your fierst and final warning.
| 2023-03-31T09:20:28 | 2023-03-31T09:21:31 | {} | MEMBER |
vuejs | core | 1,491,752,607 | 7,661 | LinusBorg | So, here's what can halfway solve the issue in my quick experiment so far:
1) make sure you provide an `errorComponent` and
2) call `fail()` in the `onError` callback:
```js
errorComponent: () => h('div', {}, 'Error!'),
onError: async (error, retry, fail) => {
console.error(error);
fail();
}
```
1... | 2023-03-31T11:07:34 | 2023-03-31T11:10:35 | {} | MEMBER |
vuejs | core | 1,493,476,030 | 7,997 | jods4 | @yyx990803 if it's already widely use then I guess that's reason enough...
I read the whole proposal again and I see in which contexts you mean to use it, I guess it makes sense.
Also, `toRef(() => x.y.z)` is basically creating that passthrough ref I described, so it can be used in templates (or anywhere) if you ne... | 2023-04-03T00:05:47 | 2023-04-03T00:05:47 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,493,732,740 | 7,939 | wenfangdu | > Console API is not a built-in JavaScript API and I think the most important is that it has side effects. It will be executed multiple times when re-rendering, so it's not suitable to use it in `<template>`.
@sxzz If we want to discourage `console` usage in the templates, it can be achieved using [eslint lint rules... | 2023-04-03T06:24:43 | 2023-04-03T06:24:43 | {
"+1": 3,
"eyes": 1
} | NONE |
vuejs | core | 1,497,360,147 | 7,803 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 44a3e5e917531389f2c777b28b05098f4aef3705 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2023-04-05T11:53:55 | 2023-04-05T11:53:55 | {} | NONE |
vuejs | core | 1,490,644,382 | 7,982 | sxzz | @pikax
```diff
const slots = defineSlots<{
a?: { title: string };
}>()
--- expectType<undefined | (title: string)=> VNode[]>(slots.a)
+++ expectType<undefined | (scope: { title: string }) => VNode[]>(slots.a)
```
There will be only one param for slot, so the first param should an object.
Also there... | 2023-03-30T17:07:43 | 2023-03-30T17:07:43 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,491,605,779 | 7,661 | nestle49 | 
| 2023-03-31T09:14:02 | 2023-03-31T09:20:43 | {} | NONE |
vuejs | core | 1,491,597,801 | 7,661 | nestle49 | 
| 2023-03-31T09:10:25 | 2023-03-31T09:21:10 | {} | NONE |
vuejs | core | 1,495,598,551 | 8,015 | an501920078 | Much needed feature | 2023-04-04T08:56:38 | 2023-04-04T08:56:38 | {} | NONE |
vuejs | core | 1,496,394,330 | 8,027 | LinusBorg | Yes that does not work because the `<template>` element is not part of the template, its *enclosing* the template as part of the SFC file format.
It disappears just like the component's `<script>` and `<style>` tags disappear when the `.vue` file is run through the compiler. | 2023-04-04T18:11:26 | 2023-04-04T19:45:04 | {} | MEMBER |
vuejs | core | 1,490,336,673 | 7,982 | johnsoncodehk | > Would it be possible to type-check missing slots or would it rather be a task for eslint or other tools?
It's supported in volar / vue-tsc v1.3.8 when enabled `vueCompilerOptions.strictTemplates`.
<img width="666" alt="image" src="https://user-images.githubusercontent.com/16279759/228854526-fbbb012b-e687-45e3-b... | 2023-03-30T13:47:17 | 2023-03-30T13:54:08 | {} | MEMBER |
vuejs | core | 1,491,162,953 | 7,803 | baiwusanyu-c | cc @yyx990803 👀 | 2023-03-31T01:23:39 | 2023-03-31T01:23:39 | {} | MEMBER |
vuejs | core | 1,491,421,933 | 7,719 | Autumn-one | Is it possible for useListener to be supported @yyx990803 | 2023-03-31T07:10:28 | 2023-03-31T07:10:28 | {} | NONE |
vuejs | core | 1,491,598,447 | 7,661 | nestle49 | 
| 2023-03-31T09:10:43 | 2023-03-31T09:21:01 | {} | NONE |
vuejs | core | 1,491,728,265 | 7,661 | GandjaFuzz | have same issue @LinusBorg | 2023-03-31T10:48:08 | 2023-03-31T10:48:08 | {} | NONE |
vuejs | core | 1,492,195,519 | 7,997 | bencodezen | I'm a big fan that `toValue` keeps a parallel consistency with `toRef` as opposed to `unref`. Definitely has a better mental model for developers.
The improved naming and enhanced DX to the pair seem like a solid step forward for the ecosystem. Great work on this! 🙌 | 2023-03-31T16:03:58 | 2023-03-31T16:04:11 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,491,787,333 | 5,318 | LinusBorg | the overall point is: this only happens when these two conditions are met:
1. a raw object is being compared to its reactive proxy counterpart with the internal `looseEqual()` helper. on the user-facing side of things, this can only happen when using checkboxes with explicitly provided `true-value`/`false-value` or ... | 2023-03-31T11:33:55 | 2023-03-31T18:26:04 | {} | MEMBER |
vuejs | core | 1,492,818,816 | 7,958 | theschmocker | > This avoid conflict when using Vue in the same project with React
Glad to see this! Trying to work with Vue 2.7 (templates only; no JSX/TSX) and React in the same project and dealing with conflicting types when using vue-tsc/Volar. Would it be possible to backport this to 2.7? If not feasible, is there a workaroun... | 2023-04-01T03:49:54 | 2023-04-01T03:49:54 | {
"+1": 7
} | NONE |
vuejs | core | 1,491,837,487 | 6,219 | msojocs | 我这么做会有什么不好的地方吗?
```vue
<!-- 路由匹配到的组件将渲染在这里 -->
<router-view v-slot="{ Component }">
<keep-alive :include="includeTest">
<component :is="wrap(Component, $route.fullPath)" />
</keep-alive>
</router-view>
```
```ts
const includeTest = ref(['/test/page1'])... | 2023-03-31T12:13:45 | 2023-04-03T08:22:43 | {} | NONE |
vuejs | core | 1,495,520,198 | 8,023 | gumingWu | > The logic of template compilation will compile `@click` into an `onContextmenu` event. In principle, writing in `tsx` needs to correspond to the template compilation result. In addition, the `onClick` event usually refers to the event when the main mouse button (usually the left button) is clicked, and the right clic... | 2023-04-04T08:00:08 | 2023-04-04T08:00:08 | {} | NONE |
vuejs | core | 1,495,713,131 | 8,021 | yyx990803 | `packages` 下本来就不应该存在没有 `package.json` 的文件夹,抛错是应该的。 | 2023-04-04T10:19:42 | 2023-04-04T10:19:42 | {} | MEMBER |
vuejs | core | 1,497,196,367 | 8,029 | yyx990803 | Test seems to be failing | 2023-04-05T09:34:11 | 2023-04-05T09:34:11 | {} | MEMBER |
vuejs | core | 1,440,658,051 | 7,750 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4246166174)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4246166174/jobs/7382625366) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42461661... | 2023-02-22T19:16:00 | 2023-02-22T19:24:28 | {} | CONTRIBUTOR |
vuejs | core | 1,440,683,477 | 7,690 | sxzz | `no-undef` rules doesn't seems to be enabled, so maybe we don't need node env.
I've already submitted a PR #7687 before | 2023-02-22T19:31:56 | 2023-02-22T19:32:02 | {} | MEMBER |
vuejs | core | 1,442,149,529 | 7,782 | LinusBorg | I think the issue is that Comp2 doesn't use TS, so it is interpreted as a JS file for TSC.
You have two options here:
1. Set `"allowJs": true` in `tsconfig.json`'s compilerOptions
2. or add an empty script block to set the language to "ts".
```html
<template><div></div></template>
<script setup lang="ts"></... | 2023-02-23T17:19:39 | 2023-02-23T17:19:39 | {} | MEMBER |
vuejs | core | 1,442,237,562 | 7,782 | JoCa96 | > I think the issue is that Comp2 doesn't use TS, so it is interpreted as a JS file for TSC.
>
> You have two options here:
>
> 1. Set `"allowJs": true` in `tsconfig.json`'s compilerOptions
>
> 2. or add an empty script block to set the language to "ts".
>
>
> ```
> <template><div></div></templat... | 2023-02-23T18:26:54 | 2023-02-23T18:26:54 | {} | NONE |
vuejs | core | 1,442,824,041 | 7,783 | liuseen-l |
> Don't ping me on every PR. PRs will be reviewed when my free time.
sry, i konw | 2023-02-24T05:17:20 | 2023-02-24T05:17:20 | {} | CONTRIBUTOR |
vuejs | core | 1,444,472,504 | 6,024 | skirtles-code | Similar to #7664. | 2023-02-24T20:56:44 | 2023-02-24T20:56:44 | {} | CONTRIBUTOR |
vuejs | core | 1,445,189,333 | 7,408 | swolfish | > How so? sweat_smile
I had fixed the memory leak reported in the production but wasn't aware of it due to activated Vue Dev Tools. :(
Had cut the leak by ~40 percent but was struggling a lot to do it completely but unsuccessfully until found this one referenced by SO.
Thank you.
| 2023-02-25T19:38:25 | 2023-02-25T19:38:25 | {} | NONE |
vuejs | core | 1,445,879,671 | 7,218 | xieyuheng | Hi @edison1105, sorry to bug you ~
I want to ask, is there any timeline about when will this PR be merged?
I found myself visit this page every day,
really like this feature,
thanks for your work :) | 2023-02-27T08:08:57 | 2023-02-27T08:08:57 | {} | NONE |
vuejs | core | 1,447,527,557 | 7,652 | zh-lx | > It's hard to change now, as all users of a Vue web component now already use it like this. So it's a breaking change.
@LinusBorg @baiwusanyu-c I added a new api to implement this function in #7787 , would you please supply some advices? | 2023-02-28T03:43:09 | 2023-02-28T03:44:34 | {} | CONTRIBUTOR |
vuejs | core | 1,447,559,283 | 7,662 | baiwusanyu-c | see: #7787 | 2023-02-28T04:29:14 | 2023-02-28T04:29:14 | {} | MEMBER |
vuejs | core | 1,449,425,288 | 5,386 | yxchai | > The current behaviour matches that of option 2. Since it is already achievable quite easily with the `v-show` directive it suggest that it cannot be the goal of `<KeepAlive>`.
From my perspective, the rendering is not taken place as it's not rendered in the DOM tree, so it's not the same as `v-show="false"`. While... | 2023-03-01T06:27:19 | 2023-03-01T06:27:19 | {} | NONE |
vuejs | core | 1,441,254,291 | 5,195 | edison1105 | /ecosystem-ci run | 2023-02-23T06:06:17 | 2023-02-23T06:06:17 | {
"+1": 1,
"heart": 1,
"hooray": 1
} | MEMBER |
vuejs | core | 1,445,051,398 | 7,629 | LinusBorg | The compiler should actually not create such an output. it should create this:
```js
props: {
msg: { type: String, required: true },
labels: { type: Array, required: false }
},
```
Thing is: I copied this code from the compiled output for that component when pasted into a real vite projects using the... | 2023-02-25T10:37:45 | 2023-02-25T10:37:45 | {} | MEMBER |
vuejs | core | 1,445,066,786 | 7,790 | LinusBorg | I'm hesitant to rate this a bug, it's an implementation detail. Nathalia's recommendation here was likely made while being unaware of that detail.
What you can rather do, is have a real cache for this and some explicit methods to get and set it, i.e.:
https://sfc.vuejs.org/#eNqNUj2P2zAM/SuEFidAIu2pG6C4qcMBXYoOVQe... | 2023-02-25T12:04:06 | 2023-02-25T12:11:52 | {} | MEMBER |
vuejs | core | 1,445,923,403 | 7,797 | LinusBorg | This is [explicitly documented behavior](https://vuejs.org/guide/essentials/reactivity-fundamentals.html#ref-unwrapping-in-templates) so changing it would be a breaking change that would break existing apps all over the place. So it won't happen (until we want to talk about Vue 4 maybe, some day). | 2023-02-27T08:45:14 | 2023-02-27T08:45:14 | {} | MEMBER |
vuejs | core | 1,449,304,715 | 7,805 | yangxiuxiu1115 | I think this is a `@vue/compile-sfc` bug. I debugged it and found the problem。When processing defineProps, it deletes the semicolon of the next line together。 `babel` think that the semicolon of the next line is the end of the statement
[location](https://github.com/vuejs/core/blob/98f1934811d8c8774cd01d18fa36ea3ec68a... | 2023-03-01T04:07:31 | 2023-03-01T04:16:48 | {} | CONTRIBUTOR |
vuejs | core | 1,441,524,147 | 5,838 | Justineo | F.Y.I. It looks like that `<script setup>` support in WebStorm is on the way.
https://twitter.com/tomblachut/status/1612519176056504320 | 2023-02-23T10:31:29 | 2023-02-23T10:31:29 | {} | MEMBER |
vuejs | core | 1,442,784,168 | 7,766 | dwgray | Thanks Linus. Let me know if there is anything I can do to help this along. | 2023-02-24T04:09:46 | 2023-02-24T04:09:46 | {} | NONE |
vuejs | core | 1,445,059,983 | 7,629 | edison1105 | @LinusBorg
we do not check props type **in production** since this [commit](https://github.com/vuejs/core/commit/4c5844a9ca0acc4ea45565a0dc9a21c2502d64a4#diff-5f9d143ec4b262ed577c3423e81ab60f100a0c959897a3ce8a048b94e23c9759R555)
**only Boolean and Function** will keep the type in prod.
```javascript
const props ... | 2023-02-25T11:25:36 | 2023-02-25T11:25:36 | {} | MEMBER |
vuejs | core | 1,447,797,856 | 7,801 | baiwusanyu-c | 
Why is the plugin called twice? Obviously the problem here is caused by | 2023-02-28T08:53:32 | 2023-02-28T08:53:32 | {} | MEMBER |
vuejs | core | 1,449,633,454 | 7,805 | yangxiuxiu1115 | In this case, it cannot be parsed normally。
`
const props = defineProps({
prop: { type: String, required: true },
}),
emits = defineEmits(['handleChange']),
a = 1
`
[playground](https://sfc.vuejs.org/#eNpFkDFvgzAQhf/KyQtECqCsiETq0L1Sx7oDhQMc4bNlH+mA/N97JlW7+bv3fH7Pu3rxvn5sqFrVxSEYzxCRN3/TZKx3gWGHgBMkm... | 2023-03-01T09:06:23 | 2023-03-01T09:11:59 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 1,440,662,250 | 7,745 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4246171574)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4246171574/jobs/7382693755) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42461715... | 2023-02-22T19:19:58 | 2023-02-22T19:26:58 | {} | CONTRIBUTOR |
vuejs | core | 1,440,889,300 | 7,775 | skirtles-code | The underlying problem seems to be that browsers have special handling for the `data` property of a text node when it appears as the direct child of some elements. Specifically, `<style>`, `<script>`, `<noscript>` and `<iframe>`.
Using a `<style>` or `<script>` tag directly inside a Vue template isn't allowed, and I... | 2023-02-22T22:20:49 | 2023-02-22T22:20:49 | {} | CONTRIBUTOR |
vuejs | core | 1,441,575,529 | 3,671 | rubebop | I'm currently having the same problem (Vuejs (2.7.0) + Composition API).
Did someone find a solution? | 2023-02-23T11:12:15 | 2023-02-23T11:12:15 | {} | NONE |
vuejs | core | 1,441,619,023 | 7,750 | Justineo | /ecosystem-ci run | 2023-02-23T11:44:03 | 2023-02-23T11:44:03 | {
"rocket": 1
} | MEMBER |
vuejs | core | 1,443,854,769 | 7,291 | ListeningRift | Indeed, it seems that I have oversimplified this problem. For now, v-memo seems to be the best way to solve this problem | 2023-02-24T15:30:45 | 2023-02-24T15:30:45 | {} | NONE |
vuejs | core | 1,443,640,272 | 7,291 | LinusBorg | > Since it can be guaranteed that the value of @xxx is always a function, it seems that there are no scenarios where the event is updated.
It's not as easy as that, unfortunately.
It's always always a function, but it's always a *new* function, that could potentially do *different things* when being called (Vue c... | 2023-02-24T12:48:28 | 2023-02-24T16:04:53 | {} | MEMBER |
vuejs | core | 1,446,003,019 | 7,797 | snowwolfjay | ok ok, thanks for explain - hope some day this inconsistency will disappear
but really strange, documented , so I worked around it, just a guess and it worked:
This case just a getter, not {{test.okList + 1}} o. | 2023-02-27T09:36:21 | 2023-02-27T09:38:54 | {} | NONE |
vuejs | core | 1,449,672,985 | 7,805 | yangxiuxiu1115 | #6778
#7423 | 2023-03-01T09:24:02 | 2023-03-01T11:18:17 | {} | CONTRIBUTOR |
vuejs | core | 1,440,658,293 | 7,748 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4246168697)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4246168697/jobs/7382928101) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42461686... | 2023-02-22T19:16:14 | 2023-02-22T19:39:10 | {} | CONTRIBUTOR |
vuejs | core | 1,440,712,168 | 7,170 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 05f2dcbe089d5ae75a01950171dec7245e09fd9b |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2023-02-22T19:54:43 | 2023-02-22T19:54:43 | {} | NONE |
vuejs | core | 1,442,241,531 | 7,782 | LinusBorg | I downloaded the repo, and it works fine locally with either of those changes. Though I needed to bust the cache by adding a blank line and saving Comp1.vue or something similar.
Edit: Seems to be a problem with vue-tsc. Works fine in the IDE with the changes I propsed, but vue-tsc still fails. That level of instab... | 2023-02-23T18:29:49 | 2023-02-23T18:35:13 | {} | MEMBER |
vuejs | core | 1,442,822,549 | 7,783 | sxzz | Don't ping me on every PR. PRs will be reviewed when my free time. | 2023-02-24T05:15:44 | 2023-02-24T05:15:44 | {} | MEMBER |
vuejs | core | 1,448,017,485 | 5,386 | BenceSzalai | > I couldn't find if this behavior is expected or not
Can it be confirmed at least that these behaviour are indeed bugs and not intended?
From the layman's perspective they clearly are by the token that if someone wanted to keep the components rendering and watchers running they could use `v-show` to show/hide th... | 2023-02-28T11:28:23 | 2023-02-28T11:37:42 | {
"+1": 4
} | NONE |
vuejs | core | 1,448,751,696 | 7,180 | hassan715 | As I understand that `suspense` in SSR should solve the following problems:
- Fetch everything before showing anything
- Load everything before hydrating anything
- Hydrate everything before interacting with anything
Using the above example `suspense` doesn't solve the problem that data is fetched for the entire ap... | 2023-02-28T19:37:11 | 2023-02-28T19:37:11 | {} | NONE |
vuejs | core | 1,440,835,788 | 7,629 | unitydynamics | Two questions related to this issue:
1. Shouldn't the production initialize to `undefined` rather than `null`? The distinction is important in some of the code I've written!
2. When I moved to pure Typescript description of my props, I noticed Volar in VS Code will not complain if non-optional props are missing (I... | 2023-02-22T21:38:03 | 2023-02-22T21:39:36 | {} | NONE |
vuejs | core | 1,441,590,263 | 7,743 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4252086583)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4252086583/jobs/7395240999) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42520865... | 2023-02-23T11:22:29 | 2023-02-23T11:28:27 | {} | CONTRIBUTOR |
vuejs | core | 1,444,259,008 | 7,782 | JoCa96 | Thanks for clarifiying! I created a new issue at https://github.com/vuejs/language-tools/issues/2450 | 2023-02-24T18:54:30 | 2023-02-24T18:54:30 | {} | NONE |
vuejs | core | 1,447,833,861 | 7,801 | Hollelihanqi | Thanks!!! | 2023-02-28T09:17:57 | 2023-02-28T09:17:57 | {} | NONE |
vuejs | core | 1,440,699,139 | 7,761 | sxzz | @yyx990803
It may create a non-unique commit id by slicing 7 lengths. (Although the current probability is very unlikely)
> you can ask [git rev-parse --short](http://git-scm.com/docs/git-rev-parse) for the shortest and yet unique SHA1
Further read: https://stackoverflow.com/questions/18134627/how-much-of-a-g... | 2023-02-22T19:44:07 | 2023-02-22T19:44:07 | {} | MEMBER |
vuejs | core | 1,441,474,283 | 5,838 | zz541843 | @qq295823929 vscode 这辈子都不可能用的
| 2023-02-23T09:55:44 | 2023-02-23T09:55:44 | {} | NONE |
vuejs | core | 1,442,876,700 | 7,017 | ben-lau |
> Thanks for the PR! Pushing and popping into an array every time a component mounts is likely to have a negative impact on performance.
>
> Let's wait until we can confirm #7021 is indeed a bug
@posva hello, is there any progress? | 2023-02-24T06:45:31 | 2023-02-24T06:45:31 | {} | NONE |
vuejs | core | 1,445,251,506 | 7,792 | skirtles-code | Maybe the same as #6080?
Possibly fixed by #6238 or #7387. | 2023-02-26T02:24:10 | 2023-02-26T02:24:10 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,447,529,094 | 2,819 | wflixu | > same Issue here: 
>
> anyone have face same issue?
>
> Version: Vue 3.2.40
I have the same problem | 2023-02-28T03:45:35 | 2023-02-28T03:45:35 | {} | NONE |
vuejs | core | 1,448,076,681 | 7,789 | edison1105 | @baiwusanyu-c
No, this one is about preserving whitespace. | 2023-02-28T12:11:12 | 2023-02-28T12:11:12 | {} | MEMBER |
vuejs | core | 1,449,835,833 | 4,356 | larryval | hi DBTK1990,
Could you explain just a bit how to use your script ! my entire app is mounted in an shadowdom target and my expectation is that I can use the VueDevTool to inpect Vue component, is your script aim for that ? | 2023-03-01T10:37:39 | 2023-03-01T10:37:39 | {} | NONE |
vuejs | core | 1,441,121,733 | 7,761 | Justineo | After looking at where we are using these short commit ids, I think we should keep this consistent with GitHub’s format. | 2023-02-23T01:49:53 | 2023-02-23T01:49:53 | {} | MEMBER |
vuejs | core | 1,441,253,482 | 7,568 | yingpengsha | Hi, Evan @yyx990803
The reason I need this change is that I am trying to apply `@vue/reactivity` to `solid-js` using the `enableExternalSource` of `solid-js`. At the same time, I think this change will not bring too many side effects. I hope this change can be approved. | 2023-02-23T06:04:47 | 2023-02-23T06:04:47 | {} | NONE |
vuejs | core | 1,441,450,619 | 5,838 | qq295823929 | > > 可以试一试VSCcode 插件[Vue Language Features (Volar)](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
> > ### SFC在线例子
> > ```js
> > <script lang="ts">
> > import MyModal from './MyModal.vue'
> > import { ref,nextTick } from 'vue'
> > import type { InstanceType } from 'vue'
> >
> > export ... | 2023-02-23T09:37:19 | 2023-02-23T09:37:19 | {} | NONE |
vuejs | core | 1,442,804,583 | 5,899 | nicholasbrantley | Would also like this implemented. | 2023-02-24T04:47:16 | 2023-02-24T04:47:16 | {
"+1": 2
} | NONE |
vuejs | core | 1,447,820,642 | 7,789 | baiwusanyu-c | Is this the same issue? #7542
@edison1105 | 2023-02-28T09:08:39 | 2023-02-28T09:08:39 | {} | MEMBER |
vuejs | core | 1,449,273,475 | 7,805 | houd1ni | The compiled part:

| 2023-03-01T03:18:17 | 2023-03-01T03:18:17 | {
"confused": 1
} | NONE |
vuejs | core | 1,440,801,813 | 7,690 | LinusBorg | Oh, totally missed that, sorry! | 2023-02-22T21:11:23 | 2023-02-22T21:11:23 | {} | MEMBER |
vuejs | core | 1,447,840,618 | 2,819 | wflixu | > > same Issue here: 
> > anyone have face same issue?
> > Version: Vue 3.2.40
>
> I have the same problem
I refactored the code and the problem was solved. It was mostly reactive usage if you have the s... | 2023-02-28T09:23:00 | 2023-02-28T09:23:00 | {} | NONE |
vuejs | core | 1,448,805,612 | 6,715 | LiahMartens | Is there any workaround available for this issue? | 2023-02-28T20:04:36 | 2023-02-28T20:04:36 | {
"+1": 3
} | NONE |
vuejs | core | 1,444,471,456 | 7,664 | skirtles-code | Similar to #6024. | 2023-02-24T20:56:09 | 2023-02-24T20:56:09 | {} | CONTRIBUTOR |
vuejs | core | 1,446,342,208 | 7,799 | LinusBorg | This is only inconsistent because in one component you manually define the name, in the other you don't.
__name is generated by the compiler as a *fallback* for devtools when you don't manually define a name.
https://vuejs.org/api/sfc-script-setup.html#usage-alongside-normal-script
```html
<script>
export d... | 2023-02-27T13:40:18 | 2023-02-27T13:40:18 | {} | MEMBER |
vuejs | core | 1,446,843,729 | 7,792 | skirtles-code | This issue was closed because it appears to be a duplicate of #6080. It isn't fixed yet. Possible fixes are provided by the two PRs I mentioned above, neither of which have been merged. | 2023-02-27T18:27:41 | 2023-02-27T18:27:41 | {} | CONTRIBUTOR |
vuejs | core | 1,447,615,410 | 7,795 | sxzz | /ecosystem-ci run | 2023-02-28T05:43:29 | 2023-02-28T05:43:29 | {} | MEMBER |
vuejs | core | 1,447,615,642 | 7,795 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4289950173)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4289950173/jobs/7473472866) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/42899501... | 2023-02-28T05:43:55 | 2023-02-28T05:51:15 | {} | CONTRIBUTOR |
vuejs | core | 1,441,290,017 | 7,773 | JayFate | > Could you please provide more details about this change? Also, the unit tests need to be passed.
Updated. And unit tests passed too. | 2023-02-23T07:03:34 | 2023-02-23T07:03:34 | {} | CONTRIBUTOR |
vuejs | core | 1,441,592,857 | 7,245 | sxzz | /ecosystem-ci run | 2023-02-23T11:24:33 | 2023-02-23T11:24:33 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.