temp fix for now-unused resettable async component
This commit is contained in:
parent
b6e8c12dbc
commit
8a9115b58e
|
@ -1,4 +1,5 @@
|
|||
import Vue from 'vue'
|
||||
// TODO investigate if even necessary since VUE3
|
||||
import { reactive } from 'vue'
|
||||
|
||||
/* By default async components don't have any way to recover, if component is
|
||||
* failed, it is failed forever. This helper tries to remedy that by recreating
|
||||
|
@ -13,7 +14,7 @@ function getResettableAsyncComponent (asyncComponent, options) {
|
|||
...options
|
||||
})
|
||||
|
||||
const observe = Vue.observable({ c: asyncComponentFactory() })
|
||||
const observe = reactive({ c: asyncComponentFactory() })
|
||||
|
||||
return {
|
||||
functional: true,
|
||||
|
|
Loading…
Reference in New Issue