vue-threejs icon indicating copy to clipboard operation
vue-threejs copied to clipboard

About vm.curObj observing optimization

Open fritx opened this issue 6 years ago • 0 comments

Search Results: curObj https://github.com/fritx/vue-threejs/search?q=curObj&unscoped_q=curObj

Related Vue Topic: [feature] Ability to disable Vue observation https://github.com/vuejs/vue/issues/2637

Solution Draft: https://github.com/vuejs/vue/issues/2637#issuecomment-331913620

data () {
  return {
    wrapper: Object.freeze({
      actual: [bigData]
    })
  }
},
methods: {
  operation () {
    this.wrapper = Object.freeze({
      actual: [newBigData]
    })
  }
}

fritx avatar Apr 23 '19 04:04 fritx