Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About vm.curObj observing optimization #15

Open
fritx opened this issue Apr 23, 2019 · 0 comments
Open

About vm.curObj observing optimization #15

fritx opened this issue Apr 23, 2019 · 0 comments

Comments

@fritx
Copy link
Owner

fritx commented Apr 23, 2019

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

Related Vue Topic: [feature] Ability to disable Vue observation
vuejs/vue#2637

Solution Draft:
vuejs/vue#2637 (comment)

data () {
  return {
    wrapper: Object.freeze({
      actual: [bigData]
    })
  }
},
methods: {
  operation () {
    this.wrapper = Object.freeze({
      actual: [newBigData]
    })
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant