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 | 960,511,384 | 4,358 | Coderclc | 我也遇到了类似这样的问题,一重启项目就解决了,头疼,经常需要重新run | 2021-11-04T07:17:44 | 2021-11-04T07:17:44 | {} | NONE |
vuejs | core | 953,986,313 | 4,868 | LinusBorg | > I think he's referring to the generated JS as one is `type: [null, Boolean]` while the other is `type: Boolean`
@posva OP is saying there are compile errors. I also can't reproduce any compile errors.
> I have create a repo of the setup and description of the errors.
@CamdenGonzalez can you give the actu... | 2021-10-28T16:02:25 | 2021-10-28T16:02:25 | {} | MEMBER |
vuejs | core | 955,681,966 | 4,878 | edison1105 | see
https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_templates_and_slots
https://mdn.github.io/web-components-examples/simple-template/
native slots allocation does not affect innerHTML | 2021-10-31T11:25:26 | 2021-10-31T11:29:06 | {} | MEMBER |
vuejs | core | 957,613,874 | 4,397 | johnsoncodehk | We should narrow the problem to this code, because `defineExpose` is syntactic sugar of it.
```ts
defineComponent({
setup(_, { expose }) {
expose({ a: 1 })
}
})
```
IMO `expose` should not affect component type declaration, this is an API design issue rather than an implementation issue. | 2021-11-02T13:48:36 | 2021-11-02T13:48:36 | {
"+1": 4
} | MEMBER |
vuejs | core | 955,635,159 | 4,397 | nyancodeid | Having the same issue here. | 2021-10-31T04:36:26 | 2021-11-02T13:49:55 | {
"+1": 2,
"eyes": 1
} | NONE |
vuejs | core | 958,711,200 | 4,893 | binvb | it seems can not assignment to reactive object in onMounted hook | 2021-11-03T07:35:58 | 2021-11-03T07:51:12 | {} | NONE |
vuejs | core | 953,674,242 | 4,872 | posva | If you check `axios` after importing it, you will see it's a function and that it doesn't have a `post` property. Vue is properly exposing the same thing.
---
Remember to use the [forum](http://forum.vuejs.org/) or the [Discord chat](https://vue-land.js.org/) to ask questions! | 2021-10-28T09:30:03 | 2021-10-28T09:30:03 | {} | MEMBER |
vuejs | core | 953,872,493 | 4,866 | 651778286 | > 我把它简化了[sfc.vuejs.org/](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aW5wdXQgOnJlZj0naW5wdXQnLz5cbjwvdGVtcGxhdGU+XG5cbjxzY3JpcHQgbGFuZz1cInRzXCIgc2V0dXA+XG5pbXBvcnQgeyBvbk1vdW50ZWQsIHJlZiB9IGZyb20gJ3Z1ZSdcbmNvbnN0IGlucHV0ID0gJ3JlZk5hbWUnXG5jb25zdCByZWZOYW1lID0gcmVmKG51bGwpXG5vbk1vdW50ZWQoKCkgPT4ge1xuICBj... | 2021-10-28T13:58:52 | 2021-10-28T13:58:52 | {} | NONE |
vuejs | core | 957,807,736 | 4,262 | yeahnoob | From the user's point, maybe add this into syntax/context checker of Vue compiler?
As mentioned above, for current state, `v-memo` cannot be inside `v-for`".
Update:
Ops.. I just find out that `eslint-plugin-vue` can check this issue, [vue/valid-v-memo](https://eslint.vuejs.org/rules/valid-v-memo.html) | 2021-11-02T15:20:46 | 2021-11-02T15:24:37 | {} | NONE |
vuejs | core | 958,996,821 | 4,874 | trusktr | > I can't remember when I last needed that.
I seem to need it often.
The main use case is that, when interfacing with other technologies, one often has to mount multiple root components at multiple interface points.
For example, working with data analytics dashboards like [Grafana](grafana.com), one has to mou... | 2021-11-03T12:44:02 | 2021-11-03T12:47:37 | {
"hooray": 3
} | NONE |
vuejs | core | 953,734,829 | 4,872 | lqfxz520 | > A short explanation: In Vue 2, we added global properties by extending the prototype. To mimic this with `globalProperties`, we bind functions provided as global properties to the component proxy instance. but calling `fn.bind()` creates a _new_ function that is missing any additional properties that were defined on ... | 2021-10-28T10:56:58 | 2021-10-28T10:56:58 | {} | NONE |
vuejs | core | 954,070,748 | 4,874 | LinusBorg | I'd rate this as an enhancement. To me, the props passed in always were initial values only.
`app.mount()` isn't written in a way suitable to listen for a reactive effect from these props either, so it likely is this way by design.
| 2021-10-28T17:54:35 | 2021-10-28T17:54:48 | {
"+1": 1
} | MEMBER |
vuejs | core | 954,089,204 | 4,874 | trusktr | So the question is, how does one import any component, mount it as root, and update its props over time? I can't find it in the docs.
This seems like a basic necessity and makes me wonder how it was overlooked. No one ever needs to do this? | 2021-10-28T18:19:57 | 2021-10-28T18:33:12 | {
"+1": 20
} | NONE |
vuejs | core | 957,901,662 | 4,887 | posva | You need to use [vue-tsc](https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc)
---
Remember to use the [forum](http://forum.vuejs.org/) or the [Discord chat](https://vue-land.js.org/) to ask questions! | 2021-11-02T16:15:33 | 2021-11-02T16:15:33 | {} | MEMBER |
vuejs | core | 957,929,859 | 4,887 | filimon-danopoulos-stratsys | Great, it's a jungle trying to find the correct place to report things! Thanks for the link, I will track the progress there. | 2021-11-02T16:40:07 | 2021-11-02T16:40:07 | {} | NONE |
vuejs | core | 952,229,729 | 4,859 | LinusBorg | This is caused by two things:
1. You needlessly binding `$attrs` to the root element, as Vue will do that on its own already (called "attribute fallthrough") *and* have an additional single @click listener defined.
2. A failure on Vue's part to detect that the same click event will be added twice when merging attrs... | 2021-10-26T19:07:40 | 2021-11-03T08:52:50 | {
"+1": 2
} | MEMBER |
vuejs | core | 960,479,180 | 4,892 | Bigfish8 | Yes, you are right.
Notice that in this case,the component is keep-alive.I think the dynamic ref provides the way for users to access different component instance.Maybe it is the only condition?
If the user wants to access only one ref, `ref` is enough.Like this:
`<component :is="currentTabComponent" ref="currentTab... | 2021-11-04T05:57:44 | 2021-11-04T05:57:44 | {} | CONTRIBUTOR |
vuejs | core | 955,508,373 | 4,877 | posva | This is not a valid bug report. It also doesn't seem to be related to Vue?
| 2021-10-30T17:15:42 | 2021-10-30T17:15:42 | {} | MEMBER |
vuejs | core | 958,905,523 | 4,890 | posva | > Mock window object is common in some ssr program for compatibility
I would say it's the opposite: Mocking the window object in Node.js is mostly done for testing but should be avoided as it will break many universal libraries relying on that check.
Checking `typeof navigator` is another possibility | 2021-11-03T10:53:32 | 2021-11-03T10:53:32 | {} | MEMBER |
vuejs | core | 960,347,602 | 4,893 | binvb | > You should use a `ref()` instead so you [can replace the whole value](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiwgb25Nb3VudGVkIH0gZnJvbSAndnVlJ1xuXG5jb25zdCBteUxpc3QgPSByZWYoW3tcbiAgbmFtZTogJ3ZiJ1xufV0pXG5cbm9uTW91bnRlZCgoKSA9PiB7XG4gIG15TGlzdC52YWx1ZSA9IFt7bmFtZTogJ2Zpc2gnfV1cbn0pX... | 2021-11-04T00:55:26 | 2021-11-04T00:55:26 | {} | NONE |
vuejs | core | 954,046,526 | 4,868 | RorzGonzalez | Apologies, I don't honestly know how to quantify repo sizes. I infer from your comment that a laravel project would be considered a large repo.
Prop with default null value - no errors
```js
<script setup lang="ts">
// No errors from this file - props are nullable as expected
import { PropType } from 'vue'
in... | 2021-10-28T17:20:15 | 2021-10-28T17:20:15 | {} | NONE |
vuejs | core | 954,414,891 | 4,683 | phantomlsh | Would you please take a quick look at this issue? Thanks a lot!
https://github.com/vuejs/repl/issues/2 | 2021-10-29T04:11:10 | 2021-10-29T04:11:10 | {} | NONE |
vuejs | core | 955,689,587 | 4,873 | caozhong1996 | Sorry for my broken English, I misunderstood something yesterday.
> We could alternatively re-apply all of the custom properties that we found with Object.keys() onto the new bound function. But I'm not convinced the effort and additional code would be worth the gains.
Why not do so? Or perhaps we could simply us... | 2021-10-31T12:19:09 | 2021-10-31T12:19:09 | {} | CONTRIBUTOR |
vuejs | core | 956,344,518 | 4,882 | sqal | Are you sure it is safe to use this feature since iOS <= 13.3 and Chrome < 80 don't support it?
https://caniuse.com/mdn-javascript_operators_optional_chaining
https://caniuse.com/?search=es6 (vue 3 supported browsers) | 2021-11-01T15:42:54 | 2021-11-01T15:42:54 | {} | CONTRIBUTOR |
vuejs | core | 957,355,323 | 4,884 | ygj6 | Thanks. It's intentional.:blush: #4505 | 2021-11-02T11:32:15 | 2021-11-02T11:32:15 | {} | MEMBER |
vuejs | core | 957,918,042 | 4,887 | filimon-danopoulos-stratsys | @posva I appreciate the workaround but I don't agree with this issue being closed without further consideration or at least some explanation of why the Vue tools build incorrect TS code in this manner. Reading the docs I get the feeling that Typescript is pushed pretty hard and the current behaviour seems at odds with ... | 2021-11-02T16:26:36 | 2021-11-02T16:26:36 | {} | NONE |
vuejs | core | 957,980,133 | 4,845 | mehanalavimajd | > I want the animation play on its first mount.
your description is really incomplete . if you want that animation play on its first mount , so what is the bug?
| 2021-11-02T17:40:21 | 2021-11-02T17:40:28 | {} | CONTRIBUTOR |
vuejs | core | 958,708,450 | 4,892 | ygj6 | The problem with this approach is that we can't set the old value to null when unloading the ref.:worried:
eg: [sfc.vuejs.org/](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8ZGl2IGlkPVwiZHluYW1pYy1jb21wb25lbnQtZGVtb1wiIGNsYXNzPVwiZGVtb1wiPlxuICAgIDxidXR0b25cbiAgICAgICB2LWZvcj1cInRhYiBpbiB0YWJzXCJcbiAgICAg... | 2021-11-03T07:29:27 | 2021-11-03T07:29:27 | {
"+1": 1
} | MEMBER |
vuejs | core | 958,724,935 | 4,893 | binvb | sorry to interrupt, may be i should do like this
```
const data =reactive( {
mylist: []
})
onMounted(() => {
data.myList = []
})
``` | 2021-11-03T08:03:40 | 2021-11-03T08:04:14 | {
"+1": 2
} | NONE |
vuejs | core | 960,513,348 | 4,887 | filimon-danopoulos-stratsys | I tried that too but the code that get's passed to ts-loader is the code generated by vue-loader and that contains type issues. In particular it reports `TS7006: Parameter 'n' implicitly has an 'any' type.`.
The way I understand it fork-ts-checker get's passed the `<script>` blocks directly without any SFC-compilat... | 2021-11-04T07:21:26 | 2021-11-04T07:21:26 | {} | NONE |
vuejs | core | 953,714,515 | 4,872 | LinusBorg | Duplicate of #4403 | 2021-10-28T10:25:11 | 2021-10-28T10:25:11 | {} | MEMBER |
vuejs | core | 953,722,800 | 4,872 | LinusBorg | Workaround/hack:
```js
axios.bind = () => axios
app.config.globalProperties.$axios = axios
``` | 2021-10-28T10:38:00 | 2021-10-28T10:38:00 | {
"+1": 1
} | MEMBER |
vuejs | core | 957,149,333 | 1,033 | zhang-stone | I had the same problem | 2021-11-02T07:00:41 | 2021-11-02T07:00:41 | {} | NONE |
vuejs | core | 957,974,094 | 4,845 | mehanalavimajd | @07akioni , I think you should delete the `appear` attribute from the transition because according to docs :
> If you also want to apply a transition on the initial render of a node, you can add the appear
The element has rendered because v-show will just add an `display:none` to element and when you add the `appe... | 2021-11-02T17:32:29 | 2021-11-02T17:32:29 | {} | CONTRIBUTOR |
vuejs | core | 958,152,995 | 4,883 | Archangel603 | I do have the mentioned Vue 2 bug in Vue 3.0.0 project and it is related to scope ids since switching style from `scoped` to `module` solves the problem. Will try to create minimal repro with latest Vue version later this week. If succeeded, should I open separate issue or just put the link to repro here?
I agree th... | 2021-11-02T20:45:56 | 2021-11-02T20:47:01 | {} | NONE |
vuejs | core | 958,691,823 | 4,897 | ShaneLee-9 | 刚刚测试,如果使用以下写法,打包后也是正常的:
```html
<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
props: {
msg: {
type: Boolean,
required: true
}
}
})
</script>
<template>
<h4>msg: {{ msg ? 'msg true' : 'msg false' }}</h4>
</template>
```
综合各种情况,目前发... | 2021-11-03T06:53:45 | 2021-11-03T06:53:45 | {} | NONE |
vuejs | core | 958,985,962 | 4,897 | posva | It seems to work fine [in the SFC playground](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBsYW5nPVwidHNcIj5cbmltcG9ydCBIZWxsb1dvcmxkIGZyb20gJy4vQ29tcC52dWUnXG48L3NjcmlwdD5cblxuPHRlbXBsYXRlPlxuICA8SGVsbG9Xb3JsZCBtc2cgLz5cbjwvdGVtcGxhdGU+IiwiaW1wb3J0LW1hcC5qc29uIjoie1xuICBcImltcG9ydHNcIjoge1xuICAgIFwidnVlXCI... | 2021-11-03T12:27:52 | 2021-11-03T12:27:52 | {
"+1": 1
} | MEMBER |
vuejs | core | 958,995,725 | 4,897 | haoqunjiang | The issue here is that in production mode, `defineProps<{ msg: boolean }>` is compiled to `props: { msg: null }` | 2021-11-03T12:42:21 | 2021-11-03T12:42:21 | {
"+1": 1
} | MEMBER |
vuejs | core | 917,023,735 | 4,554 | posva | Please, next time consider using the [forum](http://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js) for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂 | 2021-09-10T16:07:48 | 2021-09-10T16:07:48 | {} | MEMBER |
vuejs | core | 917,669,505 | 4,566 | Justineo | You need to use the `.native` modifier. | 2021-09-12T16:42:41 | 2021-09-12T16:42:41 | {
"-1": 4,
"heart": 1
} | MEMBER |
vuejs | core | 917,728,977 | 629 | superkkmax | @sh-mokong
thank you thank you very much ^^ | 2021-09-12T23:14:11 | 2021-09-12T23:14:11 | {} | NONE |
vuejs | core | 918,429,206 | 2,860 | mgdodge | @chenkai0520
I've seen this suggested before, and responded [here](https://github.com/vuejs/rollup-plugin-vue/issues/401#issuecomment-732482659). While it might work, it is a lot more code to maintain and is a regression when moving from vue 2 to vue 3. The intent of this issue is to discover why it's regressed, and ... | 2021-09-13T17:48:29 | 2021-09-13T17:48:29 | {} | NONE |
vuejs | core | 918,877,287 | 4,585 | ygj6 | Please reduce the reproduction to a smaller scope - ideally using https://sfc.vuejs.org. | 2021-09-14T07:15:45 | 2021-09-14T07:15:45 | {} | MEMBER |
vuejs | core | 919,393,035 | 1,359 | Shinigami92 | ```vue
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
setup() {
return {
asAny: (v: any) => v
}
}
});
</script>
<template v-for="i of items">
<a v-if="asAny(i).isLink" @click="goToLink(asAny(i))">{{ asAny(i).linkText }}</a>
<div v-else @... | 2021-09-14T18:07:18 | 2021-09-14T18:07:18 | {
"eyes": 1
} | CONTRIBUTOR |
vuejs | core | 919,604,659 | 4,585 | NadiaSmile | it is caused because I use a low version of element-plus when packaging, now it is solved. | 2021-09-15T00:28:41 | 2021-09-15T00:28:41 | {} | NONE |
vuejs | core | 920,648,154 | 4,291 | bigmgreen | @descire 大兄弟,我也遇到这个问题了,你现在解决了吗? | 2021-09-16T07:25:43 | 2021-09-16T07:25:43 | {} | NONE |
vuejs | core | 920,734,818 | 4,599 | LinusBorg | The compiler fails to detect that `bar` is actually used in the template. It seems to not handle the inline class expression correctly.
The error must be somewhere in this function:
https://github.com/vuejs/vue-next/blob/a6e5f82d8ea5fe55432d0277e88300045eca4237/packages/compiler-sfc/src/compileScript.ts#L1779-L17... | 2021-09-16T09:21:17 | 2021-09-16T09:22:44 | {} | MEMBER |
vuejs | core | 921,242,343 | 4,532 | theoephraim | Thanks so much! I just confirmed that @ygj6's bug report is more up to date than mine and seems to be the same thing - I reproduced his issue importing lodash rather than using a ref named `_`.
(I'm still using a slightly older version of vue 3 due to volar + typescript not quite being up to date with the latest and... | 2021-09-16T21:02:10 | 2021-09-16T21:02:10 | {} | NONE |
vuejs | core | 917,254,743 | 4,393 | matt-filion | What would it take to get this fix included in a near term version push. It is holding up some of our pushes. | 2021-09-10T22:42:24 | 2021-09-10T22:42:24 | {} | NONE |
vuejs | core | 917,353,854 | 4,559 | nooooooom | 功能确实是溯源了,但是排查bug如何溯源,如何去追溯数据更新从哪儿来呢 | 2021-09-11T06:47:34 | 2021-09-11T06:47:34 | {
"+1": 1
} | NONE |
vuejs | core | 917,362,733 | 4,393 | posva | Getting feedback on the two questions above from people using this would help move this forward | 2021-09-11T07:55:56 | 2021-09-11T07:55:56 | {} | MEMBER |
vuejs | core | 917,566,147 | 4,561 | jacekkarczmarczyk | https://github.com/MelihAltintas/vue3-openlayers | 2021-09-12T06:22:32 | 2021-09-12T06:22:32 | {
"heart": 1
} | CONTRIBUTOR |
vuejs | core | 917,568,043 | 4,561 | jacekkarczmarczyk | > or provide a reproduction without it (vue3-openlayers) | 2021-09-12T06:32:49 | 2021-09-12T06:32:49 | {
"heart": 1
} | CONTRIBUTOR |
vuejs | core | 917,608,706 | 4,558 | posva | Duplicate of https://github.com/vuejs/vue-next/issues/4408
Please, take the time to explain what you are trying to achieve instead of just copy-pasting big chunks or code and letting maintainers try to guess. | 2021-09-12T10:32:19 | 2021-09-12T10:32:19 | {} | MEMBER |
vuejs | core | 917,669,735 | 4,566 | SupertigerDev | Oh, but in the documents, it says to remove all .natives? confused
https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html#_2-x-syntax
I also get this huge error in my real project to actually remove .native.
 understanding of TS. The second one is just unnecessarily verbose. | 2021-09-10T18:44:18 | 2021-09-10T18:45:25 | {
"+1": 1
} | MEMBER |
vuejs | core | 917,385,971 | 4,558 | mivui | not script-setup | 2021-09-11T10:52:52 | 2021-09-11T10:52:52 | {} | NONE |
vuejs | core | 917,670,054 | 4,566 | SupertigerDev | Also even with the .native modifier, it still doesnt work with the compat build of vue 3.
https://codesandbox.io/s/sharp-proskuriakova-woc9s?file=/src/App.vue | 2021-09-12T16:46:36 | 2021-09-12T16:48:20 | {} | NONE |
vuejs | core | 917,820,206 | 4,572 | oooplz | ~~When i searching the keyword `v-memo` in ``vue-next``, Only have some document file as result.
But use the ``memo`` keyword, Using ``memo`` directive correct method in render function be found by me.~~
```ts
export function withMemo(
memo: any[],
render: () => VNode<any, any>,
cache: any[],
index: nu... | 2021-09-13T04:05:02 | 2021-09-13T04:15:37 | {} | NONE |
vuejs | core | 918,982,313 | 4,584 | PiscineMolitorPatel | > 应该是是 `props` 的问题,而不是 `computed` 的问题。
我知道了。应该是我声明的变量和 props 同名产生了冲突,我应该避免这么做,感谢你的提醒! | 2021-09-14T09:32:38 | 2021-09-14T09:32:38 | {} | NONE |
vuejs | core | 917,974,792 | 3,921 | huangxiaochang | > 用的 webpack 5 、改成 vue-loader@16.3.1 ,没有用 thread-loader 生产环境还是有问题。
Can you submit specific configuration of your project? | 2021-09-13T08:47:40 | 2021-09-13T08:47:40 | {} | NONE |
vuejs | core | 918,272,226 | 4,579 | oliverzy | 请安装volar vscode扩展 | 2021-09-13T14:50:16 | 2021-09-13T14:50:16 | {
"+1": 1
} | NONE |
vuejs | core | 918,735,162 | 4,563 | haan123 | thanks a lot, @LinusBorg ❤️
I'm developing a Vue.js library and was struggling with the new reactivity system of Vue 3, I thought it can be resolved natively without import anything, but I'm ok with importing `reactive` from Vue 3. | 2021-09-14T02:11:10 | 2021-09-14T02:11:10 | {} | NONE |
vuejs | core | 917,385,949 | 4,561 | ecwio | what do you mean by library repo ? | 2021-09-11T10:52:44 | 2021-09-11T10:52:44 | {} | NONE |
vuejs | core | 917,397,407 | 4,561 | ecwio | @posva This is clearly a Vue bug; you can see on codepen that there is nothin in components in _context after reload
`.use()` is not populating as it should
Can you reopen the issue ? | 2021-09-11T12:15:06 | 2021-09-11T12:15:06 | {} | NONE |
vuejs | core | 917,682,362 | 4,566 | SupertigerDev | Could you reopen the issue please as this seems like a bug. I've been stuck with this issue all day :( | 2021-09-12T18:02:46 | 2021-09-12T18:19:17 | {} | NONE |
vuejs | core | 917,749,703 | 4,545 | edison1105 | works fine in [sfc](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdD5cbmV4cG9ydCBkZWZhdWx0IHtcbiAgICBkYXRhKCkge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgaXRlbXM6IFtdLFxuICAgICAgICB9XG4gICAgfSxcblxuICAgIG1ldGhvZHM6IHtcbiAgICAgICAgYWRkSXRlbSgpIHtcbiAgICAgICAgICAgIHRoaXMuaXRlbXMucHVzaCh7XG4gICAgICAgICAgICAgICAgbmFtZTogJ... | 2021-09-13T00:46:28 | 2021-09-13T01:08:53 | {
"+1": 1
} | MEMBER |
vuejs | core | 917,871,060 | 4,573 | oooplz | [How does render function use the v-memo directive](https://github.com/vuejs/vue-next/issues/4572#issue-994418683) | 2021-09-13T06:08:43 | 2021-09-13T06:08:43 | {} | NONE |
vuejs | core | 920,151,426 | 3,024 | JayWelsh | Also ran into the same issue with Ethersjs library, markRaw solved it, thanks @snwokenk | 2021-09-15T16:01:42 | 2021-09-15T16:01:42 | {} | NONE |
vuejs | core | 920,487,714 | 4,599 | edison1105 | works fine in [sfc](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8Rm9vIDpmb289XCJmYWxzZVwiLz5cbjwvdGVtcGxhdGU+XG5cbjxzY3JpcHQgc2V0dXAgbGFuZz1cInRzXCI+XG5pbXBvcnQgRm9vIGZyb20gJy4vRm9vLnZ1ZSc7XG48L3NjcmlwdD5cbiIsImltcG9ydC1tYXAuanNvbiI6IntcbiAgXCJpbXBvcnRzXCI6IHt9XG59IiwiRm9vLnZ1ZSI6IiA8dGVtcGxhdGU+XG4gPGRpd... | 2021-09-16T00:41:46 | 2021-09-16T00:41:46 | {} | MEMBER |
vuejs | core | 921,096,643 | 4,582 | yyx990803 | Thanks for the PR - I think a better fix would be reusing the hoisted fragment URLs when possible. See 06c5bf53 | 2021-09-16T17:33:42 | 2021-09-16T17:33:42 | {
"+1": 1
} | MEMBER |
vuejs | core | 917,545,682 | 4,547 | tjk | So it seems like `patchElement` fails because `vnode.el` is `null` because `hydrateElement` stops recursing at `table` because it is hoisted (so children vnodes do not get `el` associated). Not sure what the problem is yet but just documenting my findings.
Since the table vnode is hoisted, the `patchFlag` is -1 whic... | 2021-09-12T03:55:24 | 2021-09-12T04:20:19 | {} | CONTRIBUTOR |
vuejs | core | 917,675,921 | 4,567 | posva | I think this was discussed in the RFC about composition api. Basically this would make the usage of refs very inconsistent, harder ton read, and harder to type | 2021-09-12T17:19:44 | 2021-09-12T17:20:03 | {} | MEMBER |
vuejs | core | 918,031,509 | 4,576 | Justineo | See https://v3.vuejs.org/guide/template-syntax.html#dynamic-argument-expression-constraints. | 2021-09-13T10:00:44 | 2021-09-13T10:00:44 | {} | MEMBER |
vuejs | core | 918,144,648 | 4,369 | sqal | @henribru I meet the same issue, especially the first one with exported variable. Can we re-open this issue co it won't be overlooked? | 2021-09-13T12:31:51 | 2021-09-13T12:31:51 | {} | CONTRIBUTOR |
vuejs | core | 918,974,935 | 4,589 | Justineo | It seems to be intentional, judging from the rest of the file. And this is not a valid feature request. | 2021-09-14T09:23:01 | 2021-09-14T09:23:01 | {
"eyes": 1
} | MEMBER |
vuejs | core | 920,742,130 | 4,599 | LinusBorg | Okay, got it. It's actually the empty string that is tripping up `stripStrings`. If you use a non-empty Sting like so, it works:
```html
<div
:class="[
foo ? 'xxx' : bar(),
'foo',
]"
>
```
The issue is that the regex in `stripStrings` only matches if the quotation marks contain at le... | 2021-09-16T09:31:58 | 2021-09-16T10:05:06 | {} | MEMBER |
vuejs | core | 917,565,943 | 4,561 | ecwio | @posva Can you please link me the correct place to post ?
I posted in vue but they said that is the doc for vue, then went to vue but can only select 2.x for bug report.
So where do I post my bug?
This is so hard..... It should not be | 2021-09-12T06:20:40 | 2021-09-12T06:20:40 | {} | NONE |
vuejs | core | 917,608,873 | 4,559 | posva | Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the [forum](http://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js).
Also, open issues in English. | 2021-09-12T10:33:37 | 2021-09-12T10:33:37 | {
"+1": 1
} | MEMBER |
vuejs | core | 917,618,777 | 4,563 | LinusBorg | Vue 3 uses proxies for reactivity, where changes made directly to the original object are not observed.
You have a hard reference to the original, non-reactive plain `form` object in the getter, so reading the getter will not result in registering `form` as a reactive dependency - because it's a plain object.
Wo... | 2021-09-12T11:38:12 | 2021-09-12T11:38:12 | {} | MEMBER |
vuejs | core | 917,357,467 | 4,556 | edison1105 | as a workaround:
```javascript
<template #fallback>
<div :key="percentage">
<h1>Loading {{ percentage }} </h1>
</div>
</template>
```
empty `dynamicChildren` will also take the fast path in `patchElement`.
so I think maybe should avoid set `dynamicChildren` to an empty array.
or up... | 2021-09-11T07:15:45 | 2021-09-12T13:16:47 | {
"+1": 1,
"eyes": 1
} | MEMBER |
vuejs | core | 917,751,748 | 3,025 | garyo | Just wondering what the status of this is, specifically regarding using three.js in Vue 3. | 2021-09-13T00:53:28 | 2021-09-13T00:53:28 | {} | NONE |
vuejs | core | 917,810,112 | 4,571 | Justineo | Besides the various existing [online playgrounds](https://v3.vuejs.org/api/sfc-tooling.html#online-playgrounds), you can also create a new scaffolded Vue repo on GitHub itself and set it as a template (eg. [antfu/vitesse](https://github.com/antfu/vitesse) by @antfu). You create new projects out of it and at the same ti... | 2021-09-13T03:34:13 | 2021-09-13T03:34:13 | {} | MEMBER |
vuejs | core | 918,978,252 | 4,584 | PiscineMolitorPatel | > 应该是是 `props` 的问题,而不是 `computed` 的问题。
好像还真是 props 的问题,当我把它删除了之后又正常了,你指定解决的办法吗?

删除 props 后:
` === `7e8` (i.e. 7 × 10⁸).
Wow, thanks for noticing! | 2021-09-16T08:41:51 | 2021-09-16T08:41:51 | {} | NONE |
vuejs | core | 920,829,331 | 4,610 | edison1105 | Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the [forum](https://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](https://stackoverflow.com/tags/vue.js). | 2021-09-16T11:43:33 | 2021-09-16T11:43:33 | {} | MEMBER |
vuejs | core | 920,995,824 | 4,532 | yyx990803 | @ygj6 's PR should fix usage of `_` during dev mode, and I can't reproduce the original issue. Make sure to upgrade to latest version of Vue when it's released! | 2021-09-16T15:17:51 | 2021-09-16T15:17:51 | {} | MEMBER |
vuejs | core | 917,019,318 | 4,555 | LinusBorg | Please follow Issue rules and provide a reproduction and useful information. | 2021-09-10T16:02:10 | 2021-09-10T16:02:10 | {
"-1": 4
} | MEMBER |
vuejs | core | 919,731,352 | 4,590 | ygj6 | Please reduce the reproduction to a smaller scope - ideally using https://sfc.vuejs.org. | 2021-09-15T06:15:22 | 2021-09-15T06:15:22 | {} | MEMBER |
vuejs | core | 920,954,523 | 4,344 | Jcanno | use webpack resolve vue to one package reference. | 2021-09-16T14:29:37 | 2021-09-16T14:29:37 | {
"+1": 1
} | NONE |
vuejs | core | 921,023,643 | 4,573 | yyx990803 | `v-memo` is a purely compile-time directive. You can consult [how the compiler generate the code](http://localhost:5000/packages/template-explorer/local#%7B%22src%22%3A%22%3Cdiv%20v-memo%3D%5C%22%5B123%5D%5C%22%3E%3C%2Fdiv%3E%22%2C%22ssr%22%3Afalse%2C%22options%22%3A%7B%22mode%22%3A%22module%22%2C%22filename%22%3A%22Fo... | 2021-09-16T15:51:58 | 2021-09-16T15:51:58 | {
"+1": 3
} | MEMBER |
vuejs | core | 918,098,151 | 4,563 | haan123 | Thanks, @LinusBorg 💕
But how can I use `this` in a nested object?
```js
{
value: null,
props: {
get test() {
return `hi, ${this.value}`;
}
}
}
```
`this.value` will be `undefined` | 2021-09-13T11:25:54 | 2021-09-13T11:25:54 | {} | NONE |
vuejs | core | 918,113,012 | 4,563 | LinusBorg | You can't, that's not what I meant.
In my experience, getters are just often used to refer to the same object they are defined on - and I wanted to make clear that in this common scenario, where you *can* use `this`, it just works. | 2021-09-13T11:48:52 | 2021-09-13T11:48:52 | {} | MEMBER |
vuejs | core | 918,982,959 | 4,586 | ygj6 | > I don't think the extension should be affecting the Vue instance. I've used the extension with Vue 2 and haven't had any problems.
I reproduced your problem. Indeed, `highlit` modified the dom element on the sfc page, causing the optional version of vue in the drop-down box to fail to load. Vue2 does not have s... | 2021-09-14T09:33:30 | 2021-09-14T09:34:13 | {} | MEMBER |
vuejs | core | 921,032,392 | 4,611 | lidlanca | TLDR, expose `setCurrentInstance` as public api in runtime | 2021-09-16T16:02:49 | 2021-09-16T16:02:49 | {
"laugh": 1
} | CONTRIBUTOR |
vuejs | core | 917,125,965 | 4,554 | Pentadome | Does this mean that
``` TS
const optionsProptype: PropType<string[] | number[] | Option[]> = Array;
```
is more correct than
``` TS
const optionsProptype: PropType<string[]> | PropType<number[]> | PropType<Option[]> = Array;
```
?
Should definitely be mentioned in the docs imho. | 2021-09-10T18:38:22 | 2021-09-10T18:40:56 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.