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

Vue not changing typed arrays #4664

Closed
daveroberts opened this issue Jan 5, 2017 · 4 comments
Closed

Vue not changing typed arrays #4664

daveroberts opened this issue Jan 5, 2017 · 4 comments

Comments

@daveroberts
Copy link

Vue.js version

v2.1.8 (Fiddle links to https://unpkg.com/vue/dist/vue.js)

Reproduction Link

https://jsfiddle.net/5phxc71r/

Steps to reproduce

  • Enter value into first input box
  • Array value changes
  • Enter value into second input box
  • Array value does not change

What is Expected?

The value should be changed within the typed array by Vue

What is actually happening?

The value in the typed array is not changing.

@yyx990803
Copy link
Member

Vue's reactivity system currently does not support typed arrays.

@daveroberts
Copy link
Author

daveroberts commented Jan 5, 2017

Vue is awesome!

@hajnalben
Copy link

Is it the same with ES6 Maps too?

@yyx990803
Copy link
Member

Closing to track along in #2410 - we will likely only implement this when these new data types reach a significant support rate. Alternatively, we may ship a "mordern browser only" build that leverages ES2015 Proxy which makes supporting all these new data structures (including Map and Set) less hacky.

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

3 participants