Subscribe on changes!

Unhandled error during execution of scheduler flush.

avatar
Oct 28th 2020

Version

3.0.2

Reproduction link

https://github.com/mpricu/vue3test

Steps to reproduce

Clone the github repo and and access the router-link About

What is expected?

no errors / Global properties should be accessible inside the setup() function :

What is actually happening?

Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next at <Sidebar onVnodeUnmounted=fn ref=Ref< undefined > > at at


Global properties is not accessible inside the setup() function :

Uncaught (in promise) TypeError: Cannot read property 'emitter' of undefined at setup

avatar
Oct 28th 2020

this is not available inside setup()

avatar
Oct 28th 2020

ok. And how I can access the global properties inside the setup()?

avatar
Oct 28th 2020

ok. And how I can access the global properties inside the setup()?

see https://github.com/vuejs/vue-next/issues/2233

avatar
Oct 28th 2020

Thank you very much, now it works. The documentation for global properties still need to be updated.