Unhandled error during execution of scheduler flush
Version
3.0.5
Reproduction link
https://jsfiddle.net/hm3f19rx/3/
Steps to reproduce
- Set an empty array as a
data()
return - Add a web request in the
mounted()
hook (I used Axios) - Set the empty array to the result of the web request
- Use
v-for
to loop over that array and render it
What is expected?
The array is rendered as normal.
What is actually happening?
Nothing gets rendered - my entire application breaks. Vue warn says:
Unhandled error during execution of scheduler flush. This is likely a Vue internals bug.
I first ran into this issue on my @ionic/vue
project and assumed it was an issue with Ionic itself. However, even without Ionic components this issue is still prominent. Any fixes for this are very much appreciated, since this has fully halted the development of my Vue application.