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 | 917,566,292 | 4,561 | ecwio | @posva sorry I mean the vue one; not openlayers
this is a vue bug | 2021-09-12T06:23:37 | 2021-09-12T06:23:37 | {} | NONE |
vuejs | core | 917,571,476 | 4,561 | ecwio | @jacekkarczmarczyk Ok, I could but I don't know how to program a global component example to replace openlayers in my codebox; I mean this is the only way to demonstrate this right ?
You have a code example I can use for those cases ? | 2021-09-12T06:59:10 | 2021-09-12T06:59:10 | {} | NONE |
vuejs | core | 919,318,948 | 1,359 | Spittal | Is there anyway to disable type checking within the template with Volar until this feature is implemented? It's certainly a pain not being able to address certain type issues without tools like the non-null assertion operator. | 2021-09-14T16:35:07 | 2021-09-14T16:38:49 | {
"+1": 2
} | NONE |
vuejs | core | 921,042,208 | 4,560 | yyx990803 | Good catch - although I think the intention would clearer since the root cause is `normalizeSuspenseSlot` being called inside an already de-optimized slot. See 141a5e18 | 2021-09-16T16:15:21 | 2021-09-16T16:15:21 | {} | MEMBER |
vuejs | core | 917,020,500 | 4,554 | LinusBorg | ```
const selectedProptype = [String, Number, Object] as as PropType<string | number | Option>;
``` | 2021-09-10T16:03:41 | 2021-09-10T16:03:41 | {
"+1": 2
} | MEMBER |
vuejs | core | 917,607,123 | 4,551 | lidlanca | ```js
export default {
name: 'HelloWorld',
props: {
msg: {
type: String,
default: () => inject(injectionKey)
},
setMsg: {
type: Function,
default: ()=>inject(fnInjectionKey),
}
},
setup(props) {
console.log(props.msg) // works as expected non Fun... | 2021-09-12T10:21:26 | 2021-09-12T16:39:07 | {} | CONTRIBUTOR |
vuejs | core | 917,817,725 | 4,545 | ygj6 | @metalsimyaci `feather.replace()` modifies the DOM, it can't be used combine with Vue. Vue can only manipulate the DOM assuming it's not going to be mutated by other sources.
Refer: https://github.com/vuejs/vue-next/issues/3769#issuecomment-840870557
| 2021-09-13T03:59:47 | 2021-09-13T03:59:47 | {} | MEMBER |
vuejs | core | 917,979,987 | 4,545 | metalsimyaci | > @metalsimyaci `feather.replace()` modifies the DOM, it can't be used combine with Vue. Vue can only manipulate the DOM assuming it's not going to be mutated by other sources.
> Refer: [#3769 (comment)](https://github.com/vuejs/vue-next/issues/3769#issuecomment-840870557)
Thanks For helping.
Feather icon libra... | 2021-09-13T08:54:57 | 2021-09-13T08:54:57 | {} | NONE |
vuejs | core | 920,715,925 | 4,590 | LinusBorg | Yes, please provide a minimal reproduction as required in the issue guidelines. We can't debug your actual projects. | 2021-09-16T08:54:25 | 2021-09-16T08:54:25 | {} | MEMBER |
vuejs | core | 917,352,470 | 4,558 | edison1105 | duplicate of #4294 ? | 2021-09-11T06:35:15 | 2021-09-11T06:35:15 | {} | MEMBER |
vuejs | core | 917,674,619 | 4,566 | Justineo | Are you using the migration build? The compiler flag you mentioned can only work with the migration build. See https://v3.vuejs.org/guide/migration/migration-build.html#migration-build | 2021-09-12T17:10:25 | 2021-09-12T17:10:25 | {} | MEMBER |
vuejs | core | 918,416,909 | 4,580 | posva | This should be commented in the composition api RFC but given the state of it and this not bringing anything beyond another way of doing things, I doubt it will make sense to add it. If you still want to discuss it, do it through the rfcs repo. | 2021-09-13T17:33:12 | 2021-09-13T17:33:12 | {} | MEMBER |
vuejs | core | 918,838,482 | 4,587 | chengpeiquan | Yeah, just like when you call an IT engineer to repair your computer, he asks you to restart it first. I deleted the node_modules folder, and then reinstalled all the dependencies, and it was fine. | 2021-09-14T06:11:02 | 2021-09-14T06:11:02 | {
"laugh": 2
} | NONE |
vuejs | core | 918,968,998 | 4,584 | tree-lock | 应该是是 `props` 的问题,而不是 `computed` 的问题。 | 2021-09-14T09:15:59 | 2021-09-14T09:15:59 | {} | NONE |
vuejs | core | 920,778,932 | 4,591 | LinusBorg | I think the original idea was for `emits` to be opt-in (easing transition from Vue 2). But as that would lead to potential bugs where listeners would also be added to the root element due to fall-through behavior, this might indeed be a useful warning.
Thoughts anyone? | 2021-09-16T10:25:41 | 2021-09-16T10:25:59 | {} | MEMBER |
vuejs | core | 917,832,164 | 4,545 | Magnie | @edison1105 Hmm, you are right. Try clicking on the "Version" dropdown in the top right.

| 2021-09-13T04:30:38 | 2021-09-13T04:30:38 | {} | NONE |
vuejs | core | 919,733,415 | 4,280 | lgl017 | Just a tip: also update dependency "@vue/compiler-sfc" to 3.2 | 2021-09-15T06:20:00 | 2021-09-15T06:20:00 | {} | NONE |
vuejs | core | 915,710,913 | 1,359 | johnsoncodehk | @jods4 you can do this:
```vue
<template v-for="i of items">
<a
v-if="'linkText' in i"
@click="'linkText' in i ? goToLink(i) : undefined"
>{{ i.linkText }}</a>
<div
v-else
@click="'linkText' in i ? undefined : openGroup(i)"
>{{ i.groupHeader }}</div>
</template>
```
Type narrowi... | 2021-09-09T02:30:31 | 2021-09-16T03:27:24 | {} | MEMBER |
vuejs | core | 920,669,380 | 4,504 | eikooc | @leboeuf I solved it by creating a map that goes from strings to the imported components.
```
import HelloWorld from './components/HelloWorld.vue'
import FooComp from './layouts/FooComp.vue'
export const compMap = new Map()
compMap.set("HelloWorld", HelloWorld)
compMap.set("FooComp", FooComp)
```
then you... | 2021-09-16T07:46:39 | 2021-09-16T07:46:39 | {
"+1": 1,
"-1": 1,
"confused": 1
} | NONE |
vuejs | core | 920,715,167 | 4,598 | LinusBorg | There is no `form_data` variable defined, hence the error. You seem to lack a bit of understanding about a couple of things, which is fine and expected when starting out.
You can ask the community for help at chat.vuejs.org | 2021-09-16T08:53:17 | 2021-09-16T08:53:17 | {} | MEMBER |
vuejs | core | 920,777,092 | 4,608 | github-actions[bot] | ## Size report
| Path | Size |
| -------------------------- | ------------- |
| vue.global.prod.js | 45.83 KB (0%) |
| runtime-dom.global.prod.js | 30.22 KB (0%) |
| size-check.global.prod.js | 17.41 KB (0%) | | 2021-09-16T10:22:41 | 2021-09-16T14:44:00 | {} | NONE |
vuejs | core | 917,385,667 | 4,561 | posva | Open the issue in the library repo, thanks | 2021-09-11T10:50:29 | 2021-09-11T10:50:29 | {} | MEMBER |
vuejs | core | 917,748,638 | 4,545 | Magnie | I don't know if this is the exact same issue, but I get the same error.
```
runtime-dom.esm-bundler.js:10
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'insertBefore')
at insert (runtime-dom.esm-bundler.js:10)
at mountElement (runtime-core.esm-bundler.js:4145)
at processElem... | 2021-09-13T00:43:05 | 2021-09-13T00:43:05 | {} | NONE |
vuejs | core | 917,829,447 | 4,572 | oooplz | We should be like using ``v-for``. Caching VNode uses self implementation. | 2021-09-13T04:24:05 | 2021-09-13T04:24:05 | {} | NONE |
vuejs | core | 918,778,565 | 4,309 | Justinidlerz | > Hey, I'm facing the same problem now. Is there any plan to fix this?
> I have an idea to add a feature for [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to resolve this.
> If we need to inject all CSS (including child components or load by other dependencies) into the root sh... | 2021-09-14T04:00:27 | 2021-09-14T04:01:39 | {} | NONE |
vuejs | core | 918,972,619 | 4,589 | ZeroEvilSword | wow, thats awesome! | 2021-09-14T09:20:22 | 2021-09-14T09:20:22 | {} | NONE |
vuejs | core | 920,561,452 | 4,512 | sambitevidev | Is it going to be merged ?
| 2021-09-16T04:14:15 | 2021-09-16T04:14:15 | {} | NONE |
vuejs | core | 917,997,056 | 4,566 | LinusBorg | So I've been looking into this, and it doesn't really qualify as a bug. Rather, it's a complicated interaction between multiple breaking changes and their corresponding COMPAT flags/behaviors. This might need a special entry in the migration docs.
### Short summary
* in Vue 2, the parent is responsible for applyi... | 2021-09-13T09:14:36 | 2021-09-16T10:28:40 | {
"+1": 6,
"heart": 7
} | MEMBER |
vuejs | core | 920,843,826 | 4,065 | LinusBorg | @robertmoura We introduced `v-memo` in 3.2, which can be used to optimize list rendering performance. Have you given this a try? Does that help with your use case? | 2021-09-16T12:06:51 | 2021-09-16T12:06:51 | {
"heart": 1
} | MEMBER |
vuejs | core | 916,967,843 | 4,551 | bowencool | I want to provide a default upload method in the ConfigProvider
> What is the actual use case?
| 2021-09-10T14:56:17 | 2021-09-10T14:56:17 | {} | NONE |
vuejs | core | 917,400,030 | 4,561 | posva | Open the issue on the open vue 3 layers repo or provide a reproduction without it | 2021-09-11T12:34:06 | 2021-09-11T12:34:06 | {} | MEMBER |
vuejs | core | 917,440,048 | 4,393 | akibrk | On Vue 2, all `wc` target build props are passed as a string, we then parse it within the component as a number/boolean/object or whatever the use case is. Leaving it as a string would not be a bad idea, instead of trying to parse it for all cases.
```html
<av-component data-is-open="true" data-id="xpd154" data-amo... | 2021-09-11T17:07:38 | 2021-09-11T17:07:38 | {} | NONE |
vuejs | core | 918,760,820 | 4,583 | ygj6 | Please refer to: https://github.com/vuejs/rfcs/blob/master/active-rfcs/0040-script-setup.md#automatic-name-inference | 2021-09-14T03:13:27 | 2021-09-14T03:13:27 | {} | MEMBER |
vuejs | core | 920,408,224 | 4,369 | henribru | I'm not able to reopen the issue but I made a new issue specifically for that first problem: https://github.com/vuejs/vue-next/issues/4600 | 2021-09-15T21:52:11 | 2021-09-15T21:52:11 | {} | NONE |
vuejs | core | 917,781,706 | 4,532 | ygj6 | I found that in dev mode, if internal exposed `_` variable in `<script setup>`, and worked with `$refs` will report `Uncaught TypeError: Cannot read property '__isScriptSetup' of undefined`, but worked fine in prod mode. The reproduction link:https://github.com/ygj6/bug-report-ctx.git
1. npm install / yarn
2. npm r... | 2021-09-13T02:14:31 | 2021-09-13T02:14:31 | {} | MEMBER |
vuejs | core | 919,675,281 | 4,593 | ygj6 | duplicate of #4546 | 2021-09-15T03:46:23 | 2021-09-15T03:46:23 | {} | MEMBER |
vuejs | core | 920,096,122 | 4,595 | leopiccionia | It's an edge case.
`parseFloat('7e8')` === `7e8` (i.e. 7 × 10⁸). | 2021-09-15T14:57:01 | 2021-09-15T14:57:18 | {} | CONTRIBUTOR |
vuejs | core | 921,350,814 | 4,574 | Pentadome | You forgot select @yyx990803 | 2021-09-17T00:17:57 | 2021-09-17T00:17:57 | {} | CONTRIBUTOR |
vuejs | core | 864,032,825 | 3,977 | HorseLuke | Well, jsfiddler url I provided is the minimal reproduction, it is not a simple copy of the part of my project. What I provided in description is just for background. | 2021-06-18T13:17:52 | 2021-06-18T13:17:52 | {} | NONE |
vuejs | core | 866,280,300 | 2,345 | yyx990803 | @basvanmeurs yes, I'm actually reviewing the changes for 3.2 right now and it would be great to have a new PR with a perf-only changeset (and rebased).
Also, I apologize for letting this sit for so long - and really appreciate your patience. Thanks again! | 2021-06-22T19:42:04 | 2021-06-22T19:42:04 | {} | MEMBER |
vuejs | core | 864,045,249 | 1,600 | thecrypticace | @martinbean This _should_ work for SFCs:
```js
mix.vue({
options: {
compilerOptions: {
whitespace: "preserve",
},
},
})
```
But you'll also need to configure the runtime compiler if you're using it:
```js
app.config.compilerOptions.whitespace = "preserve"
``` | 2021-06-18T13:37:11 | 2021-06-18T13:37:11 | {
"+1": 3
} | CONTRIBUTOR |
vuejs | core | 865,182,468 | 1,359 | jods4 | TS support in views would be nice if not almost mandatory when you try to have fully type-checked templates in a complex project.
We started using Volar in one of our projects and we have a few errors that need a cast or a null-forgiving `!` to fix.
Sometimes such casts can be moved into the `script` block by som... | 2021-06-21T16:37:44 | 2021-06-21T16:37:44 | {
"+1": 3
} | CONTRIBUTOR |
vuejs | core | 867,128,843 | 3,995 | yyx990803 | ~~Also curious why there is such a big improvement in creation of watchers / reactive objects - it seems unrelated to this PR? Or are you running the benchmarks on a branch that contains more changes than this PR?~~
Ran the benchmarks myself and indeed seeing same improvements - the watch creation seems to have to d... | 2021-06-23T20:16:51 | 2021-06-23T20:31:59 | {} | MEMBER |
vuejs | core | 867,503,238 | 3,997 | 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).
---
Your repro link doesn't work and you should use ... | 2021-06-24T09:53:48 | 2021-06-24T09:53:48 | {} | MEMBER |
vuejs | core | 863,290,939 | 2,513 | williarin | The workaround to this problem is to register all events in `onMounted()` using vanilla events. This will bypass the timestamp restriction.
```vue
<template>
<div ref="mydiv"></div>
</template>
<script>
export default {
setup() {
const mydiv = ref(null);
onMounted(() => {
... | 2021-06-17T14:31:40 | 2021-06-18T01:48:40 | {} | NONE |
vuejs | core | 863,842,400 | 3,975 | LinusBorg | Please open an issue with oruga-ui. They can investigate and, if it's a Vue bug, provide a minimal reproduction for us to investigate. | 2021-06-18T08:01:18 | 2021-06-18T08:01:18 | {} | MEMBER |
vuejs | core | 864,377,552 | 3,926 | tangjinzhou | What's the status? | 2021-06-19T08:47:44 | 2021-06-19T08:47:44 | {} | CONTRIBUTOR |
vuejs | core | 864,875,430 | 2,027 | leer561 | https://next.router.vuejs.org/guide/advanced/composition-api.html#accessing-the-router-and-current-route-inside-setup
`watch(
() => route.params.id,
async newId => {
userData.value = await fetchUser(newId)
}
)` | 2021-06-21T09:17:57 | 2021-06-21T09:17:57 | {} | NONE |
vuejs | core | 866,145,671 | 3,987 | DV8FromTheWorld | ...I bet this has to do with the way the parser is consuming characters and adjusting `offset`. This probably is a difference between `\n` and `\r\n` given you are on unix and I am on windows. | 2021-06-22T16:33:38 | 2021-06-22T16:33:38 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 866,308,423 | 3,993 | lidlanca | and here is a possible workaround if you really need dynamic arguments
https://sfc-vue3.netlify.app/#/gist/c1242a00f99d8a3ed26cb002303dfcca
I originally recommended reducing that to a development warning and not an error.
due to incomplete validation. | 2021-06-22T20:24:36 | 2021-06-22T20:24:36 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 862,280,144 | 3,960 | posva | Please follow https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro when reporting issues. Closing even though @LinusBorg was kind enough to give it a look and help you until a proper reproduction is provided | 2021-06-16T10:54:30 | 2021-06-16T10:54:30 | {} | MEMBER |
vuejs | core | 862,383,851 | 2,337 | posva | I think that https://github.com/vuejs/vue-next/pull/3962 should fix this but I could have forgotten some of the test cases | 2021-06-16T13:32:51 | 2021-06-16T13:32:51 | {} | MEMBER |
vuejs | core | 863,380,578 | 3,966 | shadowings-zy | > [e2ca67b#diff-07826ed1d9f7699d925ee15d9212e2879af5320b155c0c878fc2dcba71b3e564L110-L113](https://github.com/vuejs/vue-next/commit/e2ca67b59a4de57a9bce8d3394263ba493a35a39#diff-07826ed1d9f7699d925ee15d9212e2879af5320b155c0c878fc2dcba71b3e564L110-L113)
>
> This seems to be intentional.
Yes, I saw these comment to... | 2021-06-17T16:21:04 | 2021-06-17T16:21:04 | {} | CONTRIBUTOR |
vuejs | core | 863,607,948 | 2,758 | tony19 | This PR no longer compiles as of de954f4: [demo](https://www.typescriptlang.org/play?ts=4.3.2&ssl=2&ssc=22&pln=1&pc=1#code/MYewdgzgLgBAJgUwsATgSwEYJgXhgCjAEMBbBALhmnTAHMAaGYDSgMQFcxgo1wBKXAD4YAbybgIIADYIAdFJC18AAwBUqmABIRxMgF8Y65XwDcTDPgF6AsAChQkWEQAOz3KINEIMAIKu7dojAUkQo2FAAns7YAApS7LRoYAD6AEzucQlJAJKORFJSHFw84DAAPqJ2... | 2021-06-17T22:41:45 | 2021-06-17T22:41:45 | {} | CONTRIBUTOR |
vuejs | core | 863,675,948 | 2,513 | williarin | Sure, I edited the code. | 2021-06-18T01:50:24 | 2021-06-18T01:50:24 | {} | NONE |
vuejs | core | 864,258,488 | 3,978 | HorseLuke | OK, thanks! | 2021-06-18T20:28:31 | 2021-06-18T20:28:31 | {} | NONE |
vuejs | core | 864,337,621 | 3,930 | yyx990803 | 你打包的时候有没有 externalize Vue?这个错误大概率是因为你的组件连 Vue 一起打包了进去导致两份 Vue 冲突。
另外,重现的依赖 link 了你本地磁盘的上的文件夹,也没有写清楚如何复现,信息不完整。 | 2021-06-19T01:35:08 | 2021-06-19T01:35:08 | {} | MEMBER |
vuejs | core | 864,912,977 | 3,981 | posva | As a workaround, you can manually inherit the `$attrs`:
```js
app.component('test', {
props: ['active'],
inheritAttrs: false,
template: `
<transition name="fade">
<div v-bind="$attrs" class="test" v-show="active">Test</div>
</transition>
`
})
``` | 2021-06-21T10:13:48 | 2021-06-21T10:13:48 | {} | MEMBER |
vuejs | core | 864,914,033 | 3,984 | posva | By passing the object directly as a prop, every render creates a new object, effectively triggering the watcher.
---
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. B... | 2021-06-21T10:15:24 | 2021-06-21T10:15:24 | {} | MEMBER |
vuejs | core | 865,749,736 | 3,990 | posva | It does work in Vue:
<img width="637" alt="Screenshot 2021-06-22 at 10 43 48" src="https://user-images.githubusercontent.com/664177/122893582-bc953a80-d346-11eb-8f5d-f3338941c05d.png">
it also works with `UnwrapRef` type | 2021-06-22T08:45:24 | 2021-06-22T08:45:24 | {} | MEMBER |
vuejs | core | 865,787,987 | 3,987 | posva | The provided reproduction gives this: and it doesn't hang in an infinite loop.
The loop you showed still increments `j` when it continues but maybe `end > count` never changes, pro... | 2021-06-22T09:11:07 | 2021-06-22T09:37:15 | {} | MEMBER |
vuejs | core | 866,369,848 | 2,457 | duncanmcclean | I'm in the same boat, anyone found a fix for this? | 2021-06-22T22:08:53 | 2021-06-22T22:08:53 | {
"+1": 1
} | NONE |
vuejs | core | 866,147,258 | 3,991 | github-actions[bot] | ## Size report
| Path | Size |
| -------------------------- | -------------------- |
| vue.global.prod.js | 42.61 KB (+0.01% 🔺) |
| runtime-dom.global.prod.js | 28.2 KB (+0.02% 🔺) |
| size-check.global.prod.js | 16.94 KB (0%) | | 2021-06-22T16:35:57 | 2021-06-23T08:43:52 | {} | NONE |
vuejs | core | 862,280,795 | 3,960 | LinusBorg | the codesandbox worked, it was just acting up when i forked it to edit.
After a second attempt I was able to run it with my proposed changes and it works. | 2021-06-16T10:55:36 | 2021-06-16T10:56:13 | {} | MEMBER |
vuejs | core | 862,443,544 | 3,963 | edison1105 | ```diff
if (delayEnter) {
+ suspense.isInFallback = true
activeBranch!.transition!.afterLeave = mountFallback
}
// unmount current active branch
unmount(
activeBranch!,
parentComponent,
null, // no suspense so unmount hooks fire now
true //... | 2021-06-16T14:46:18 | 2021-06-16T14:46:18 | {
"eyes": 1
} | MEMBER |
vuejs | core | 862,479,634 | 3,965 | github-actions[bot] | ## Size report
| Path | Size |
| -------------------------- | -------------------- |
| vue.global.prod.js | 42.44 KB (+0.02% 🔺) |
| runtime-dom.global.prod.js | 28.07 KB (+0.01% 🔺) |
| size-check.global.prod.js | 16.82 KB (0%) | | 2021-06-16T15:31:24 | 2021-06-16T15:31:24 | {} | NONE |
vuejs | core | 863,316,349 | 3,966 | edison1105 | https://github.com/vuejs/vue-next/commit/e2ca67b59a4de57a9bce8d3394263ba493a35a39#diff-07826ed1d9f7699d925ee15d9212e2879af5320b155c0c878fc2dcba71b3e564L110-L113
This seems to be intentional. | 2021-06-17T15:02:42 | 2021-06-17T15:02:42 | {} | MEMBER |
vuejs | core | 863,601,259 | 2,589 | tony19 | This PR no longer compiles as of de954f45: [demo](https://www.typescriptlang.org/play?#code/MYewdgzgLgBAJgUwsATgSwEYJgXhgCjAEMBbBALhmnTAHMAaGYDSgMQFcxgo1wBKXAD4mGfHwCwAKFCRYRAA7zcMAN4BfGEQgwAgoqlTEwADZEU2KAE952AArH2tNGAD6AJmX3HzgJKyixsYcXDzgMAA+qlIwMTDO0AHGlF5OYH4JgcHcvGAA3FJq+ZIIAB7yICiwKjApzu6a2rVgMGoGkkam5jBWNjUOqel... | 2021-06-17T22:23:52 | 2021-06-17T22:24:52 | {} | CONTRIBUTOR |
vuejs | core | 864,821,651 | 3,982 | posva | You should mark it as Raw when passing to data:
```js
import { markRaw } from '@vue/reactivity'
import Text from './components/Text'
export default {
name: 'App',
data() {
return {
Component: markRaw(Text)
}
}
}
```
or Use the name if you register it:
```js
import { markRaw } ... | 2021-06-21T08:06:46 | 2021-06-21T08:06:46 | {} | MEMBER |
vuejs | core | 862,196,734 | 3,758 | oliverzy | @posva Please see this. | 2021-06-16T09:17:24 | 2021-06-16T09:18:28 | {} | NONE |
vuejs | core | 863,670,264 | 3,972 | NolinLin | @posva Can you edit the link?
https://codesandbox.io/s/bold-rgb-c8pf6?file=/src/main.js
I can't solve the problem if I add vue-router@4 | 2021-06-18T01:45:47 | 2021-06-18T01:45:47 | {} | NONE |
vuejs | core | 864,337,284 | 3,946 | yyx990803 | This is technically not possible (while preserving correctness) because Vue state is actual state created inside a closure whereas React hooks state is stored on the underlying component instance. | 2021-06-19T01:31:47 | 2021-06-19T01:31:47 | {
"+1": 1
} | MEMBER |
vuejs | core | 864,407,950 | 1,600 | martinbean | OK, got Vue compiling, but I’m afraid this issue is still persisting. Take a look at the screenshot below.
The whitespace is honoured in the Vue single-file component itself, but any whitespace in my `<div id="app">` is collapsed. So “Button One” and “Button Two” are butting up against each other even though there’s... | 2021-06-19T13:40:59 | 2021-06-19T13:40:59 | {
"+1": 4
} | NONE |
vuejs | core | 864,778,486 | 3,976 | JamesBoon | @posva I've searched the tests a bit and found those for Vue 2: ['should work with v-if/v-else'](https://github.com/vuejs/vue/blob/612fb89547711cacb030a3893a0065b785802860/test/unit/features/component/component-scoped-slot.spec.js#L866) and Vue 3: ['named slot with v-if + v-else-if + v-else'](https://github.com/vuejs/v... | 2021-06-21T06:56:14 | 2021-06-21T06:56:14 | {} | NONE |
vuejs | core | 864,807,711 | 3,328 | dybxin | when i send data to child component use props , i meet the likely problem:
when i first refresh web i got the props row and type undefined, second or more is correct got props.
in parent:
```vue
<template>
<div>
<user-dialog
ref="userDialog"
:type="dialogType"
:row="... | 2021-06-21T07:46:28 | 2021-06-21T07:46:28 | {} | NONE |
vuejs | core | 866,019,897 | 3,987 | DV8FromTheWorld | The loop indeed _does_ increment `j` but yes, as mentioned before, the problem is that `end > count` never changes. You can see that the debugger is _currently_ stopped in a state of infinite loop by comparing the values shown in the Scope tab on the right.
I just freshly pulled the repository, ran `npm i`, and `npm... | 2021-06-22T14:12:27 | 2021-06-22T14:12:27 | {} | CONTRIBUTOR |
vuejs | core | 866,882,354 | 2,345 | basvanmeurs | Thanks Evan. See https://github.com/vuejs/vue-next/pull/3995 | 2021-06-23T14:22:08 | 2021-06-23T14:22:08 | {} | CONTRIBUTOR |
vuejs | core | 863,032,787 | 3,970 | pengxiaotian | I use sourcemap in build:
// vite.config.ts
```js
{
build: {
sourcemap: 'inline'
}
}
```
output:
```bash
<--- Last few GCs --->
[26410:0x106100000] 58372 ms: Scavenge 2033.6 (2058.2) -> 2025.9 (2058.2) MB, 3.1 / 0.0 ms (average mu = 0.161, current mu = 0.094) allocation failure
[26410:0x... | 2021-06-17T08:15:58 | 2021-06-17T08:15:58 | {} | NONE |
vuejs | core | 863,104,537 | 3,968 | edison1105 | > Can you add a test?
yes, too busy. I will do it later. | 2021-06-17T09:58:58 | 2021-06-17T09:58:58 | {
"+1": 1
} | MEMBER |
vuejs | core | 863,405,655 | 2,513 | zauan | Yes, this works on smaller projects, however, this cannot be implemented in larger projects like Zion Builder as it increase the code base and there are many places were events are used. Also, can you please also add the removeEventListener on the 'beforeUnmount' hook to your code so that the event gets removed when th... | 2021-06-17T16:58:33 | 2021-06-17T16:58:33 | {
"+1": 1
} | NONE |
vuejs | core | 864,133,362 | 1,600 | martinbean | @thecrypticace Thanks. I have no idea what I’m doing wrong, but I just can’t get Vue 3 to work, at all. I just seem to encounter issue after issue.
This is what I have as a reduced test case:
```html
<!-- resources/views/welcome.blade.php -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=... | 2021-06-18T15:55:19 | 2021-06-18T16:00:41 | {} | NONE |
vuejs | core | 864,417,382 | 3,875 | cryi | Hi @posva @yyx990803
any chance for this to be included in 3.2? | 2021-06-19T15:00:02 | 2021-06-19T15:00:02 | {} | NONE |
vuejs | core | 864,577,131 | 3,979 | wtcodeai | Does not change anything | 2021-06-20T16:11:49 | 2021-06-20T16:11:49 | {} | NONE |
vuejs | core | 865,219,746 | 3,982 | makandrr | Thank you! | 2021-06-21T17:35:30 | 2021-06-21T17:35:30 | {} | NONE |
vuejs | core | 866,148,727 | 3,991 | posva | It seems like the transition tests fail very often | 2021-06-22T16:38:00 | 2021-06-22T16:38:00 | {} | MEMBER |
vuejs | core | 867,169,139 | 3,995 | yyx990803 | This is great! Thank you!
Do you still plan to work on the memory-saving aspect and the dep cleanup optimizations (described by @jods4 [here](https://github.com/vuejs/vue-next/pull/2345#issuecomment-727200679))? | 2021-06-23T21:23:24 | 2021-06-23T21:23:24 | {} | MEMBER |
vuejs | core | 862,292,309 | 3,960 | kongyijilafumi | @LinusBorg thanks,it's my fault.I refer to the case on the official website of element UI plus and forget to check that `refs` has the same name as `modal`. I have solved this problem, thank you for your answer, thanks
| 2021-06-16T11:14:25 | 2021-06-16T11:14:25 | {} | NONE |
vuejs | core | 863,041,915 | 3,970 | posva | Please read and follow https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro in a new issue | 2021-06-17T08:28:36 | 2021-06-17T08:28:36 | {} | MEMBER |
vuejs | core | 863,070,770 | 3,966 | posva | I added an SFC playground without the router. It seems like the mixins watchers are being overridden instead of merged together so only the Component watcher is kept | 2021-06-17T09:09:25 | 2021-06-17T09:09:25 | {
"+1": 1
} | MEMBER |
vuejs | core | 863,321,637 | 3,972 | 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).
---
You need to add the router https://next.router.v... | 2021-06-17T15:08:56 | 2021-06-17T15:08:56 | {} | MEMBER |
vuejs | core | 863,410,984 | 3,966 | Justineo | IIRC we haven’t planned this breaking change for Vue 3. Maybe we should keep the old behavior? | 2021-06-17T17:05:30 | 2021-06-17T17:06:04 | {} | MEMBER |
vuejs | core | 860,077,525 | 3,924 | netleader | I haven't tried this but I assume this works. Why haven't I tried it? I switched to Blazor :-P
- Update I was curious and just want to confirm that this works! | 2021-06-12T16:37:11 | 2021-06-17T21:40:40 | {} | NONE |
vuejs | core | 863,954,862 | 3,976 | JamesBoon | > I would say the workaround is the preferred way to write it so you pass one single slot.
This is absolutely ok, but the other way works _somehow_ - and leads to this strange error shown in the jsfiddle.
Thus if there would be some kind of warning like "don't use v-if/v-else together with named slots" either in t... | 2021-06-18T11:02:02 | 2021-06-18T11:02:02 | {} | NONE |
vuejs | core | 864,943,389 | 3,979 | wtcodeai | @posva
Also your solution cause warning which mentioned earlier in other bug reports
`<Suspense> slots expect a single root node.`
And what we have
Suspense with hierarchy like `suspense => div => component` has the problem mentioned in this topic
Suspense with hierarchy like `suspense => component` (with or witho... | 2021-06-21T11:04:45 | 2021-06-21T11:04:45 | {} | NONE |
vuejs | core | 862,269,429 | 3,962 | github-actions[bot] | ## Size report
| Path | Size |
| -------------------------- | -------------------- |
| vue.global.prod.js | 42.56 KB (+0.01% 🔺) |
| runtime-dom.global.prod.js | 28.16 KB (+0.04% 🔺) |
| size-check.global.prod.js | 16.91 KB (+0.04% 🔺) | | 2021-06-16T10:48:33 | 2021-06-22T15:28:42 | {} | NONE |
vuejs | core | 866,964,926 | 3,992 | DV8FromTheWorld | Should be good to go 👍 | 2021-06-23T16:00:03 | 2021-06-23T16:00:03 | {} | CONTRIBUTOR |
vuejs | core | 862,357,412 | 3,963 | posva | As a workaround it's possible to add a `v-else` case:
```vue
<Suspense>
<template #default>
<component v-if="Component" :is="Component" />
<span v-else></span>
</template>
<template #fallback>
<p>Loading...</p>
</template>
</Suspense>
``` | 2021-06-16T12:57:33 | 2021-06-16T12:57:33 | {} | MEMBER |
vuejs | core | 862,597,177 | 3,967 | znck | Also `<>` in `<div><></div>` is parsed as text node. | 2021-06-16T18:05:40 | 2021-06-16T18:05:40 | {} | MEMBER |
vuejs | core | 865,035,798 | 3,981 | edison1105 | `KeepAlive `also has the same problem. see https://github.com/vuejs/vue-next/blob/master/packages/compiler-ssr/src/transforms/ssrTransformComponent.ts#L184
[template-explorer](https://vue-next-template-explorer.netlify.app/#%7B%22src%22%3A%22%3Ckeep-alive%3E%5Cn%20%20%3Cdiv%20class%3D%5C%22bar%5C%22%3E%3C%2Fdiv%3E%5... | 2021-06-21T13:31:30 | 2021-06-21T14:20:52 | {} | MEMBER |
vuejs | core | 865,792,837 | 3,990 | jods4 | @johnsoncodehk what do you think?
Is the problem in Vue or Volar? | 2021-06-22T09:14:24 | 2021-06-22T09:14:24 | {} | CONTRIBUTOR |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.