Vue: Vue not changing typed arrays

Created on 5 Jan 2017  Â·  4Comments  Â·  Source: vuejs/vue

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.

improvement

Most helpful comment

Vue is awesome!

All 4 comments

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

Vue is awesome!

Is it the same with ES6 Maps too?

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gkiely picture gkiely  Â·  3Comments

loki0609 picture loki0609  Â·  3Comments

lmnsg picture lmnsg  Â·  3Comments

paceband picture paceband  Â·  3Comments

bfis picture bfis  Â·  3Comments