Hey, following a short chat with @duckers, tried to reproduce what seems to me like a probable leak when using ux:Property. It may very well be a display of bad practice on my part, but worth a shot anyway.
Repro: https://dl.dropboxusercontent.com/u/11750787/ovc-test.zip
Launched local preview on OSX + pre-release Fuse 0.22.0.6993.
Step to reproduce:
-
Click “Switch page” five times
-
Make a change to
SomeItem.js
file (add a newline somewhere) and save it -
Watch Monitor spit out the following:
LOG: null LOG: 0 LOG: page got param: {"i":0} LOG: 1 LOG: 1 LOG: page got param: {"i":1} LOG: 2 LOG: page got param: {"i":2} LOG: 3 LOG: page got param: {"i":3} LOG: 4 LOG: page got param: {"i":4} LOG: 5 LOG: 4 LOG: 5 LOG: 4 LOG: 4 LOG: 5 LOG: 5
What seems weird is that the this.Label.onValueChanged()
from SomeItem.js
seems to be firing several times in a row, with different values.