Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When app.unmount() is called immediately after app.mount(), an error will be reported, as follows: #1464

Closed
withoutmeat opened this issue Jun 3, 2021 · 1 comment
Labels

Comments

@withoutmeat
Copy link

Version

6.0.0-beta.12

Browser and OS info

Chrome 90 / Mac 10.15.7

Steps to reproduce

main.ts

import { createApp } from "vue";
import App from "./App.vue";

const vm = createApp(App);
vm.mount("#app");
vm.unmount();

What is expected?

no error.

What is actually happening?

throw error: TypeError: Cannot set property 'VUE_DEVTOOLS_UID' of null at registerAppJob (backend.js:743)

@Akryum
Copy link
Member

Akryum commented Jun 7, 2021

Will display a warning instead of throwing

@Akryum Akryum reopened this Jun 7, 2021
@Akryum Akryum closed this as completed Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants