How to set a component non-reactive data in Vue 2?
Vue sets all the properties in the data option to setters/getters to make them reactive. See Reactivity in depth Since you want myArray to be static you can create it as a custom option which can be accessed using vm.$options export default{ data() { return{ someReactiveData: [1, 2, 3] } }, //custom option name myArray … Read more