A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/869 below:

Setting a property to an array after it was initialized to an empty object causes mayhem · Issue #869 · vuejs/vue · GitHub

Hi, thanks for your great work.

Have a look at this fiddle: https://jsfiddle.net/mjgd383x/4/

Imagine you create a Vue instance where some attribute in the data hash is initialized to an empty object. Then, the attribute is rewritten to an array full of data. One would expect directives like v-repeat (etc) to pick up on this. However, the bindings seem to get messed up and some directives don't work as expected.

The fiddle above should exemplify this issue.

Let me know if you need any further info.

-Dhruv


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4