Open avalanche1 opened 8 years ago
Tracker.nonReactive
On Aug 26, 2016 1:48 PM, "Kat KatKat" notifications@github.com wrote:
I want to get contents of reactive array in autorun without depending on it - similar to vm.property.value. How can I do that? If I try to use .array()method of ReactiveArray - it adds a dependency and triggers reruns on array contents change.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ManuelDeLeon/viewmodel/issues/269, or mute the thread https://github.com/notifications/unsubscribe-auth/AED31kIUDdqZytsUQAdY4zplbkxMMFFwks5qj0MIgaJpZM4JuaDl .
Now that I think of it .value should give you a non reactive array. I'll update it later. In the meantime use tracker non reactive.
On Aug 26, 2016 1:49 PM, "Manuel De Leon" manueldeleon@gmail.com wrote:
Tracker.nonReactive
On Aug 26, 2016 1:48 PM, "Kat KatKat" notifications@github.com wrote:
I want to get contents of reactive array in autorun without depending on it - similar to vm.property.value. How can I do that? If I try to use .array()method of ReactiveArray - it adds a dependency and triggers reruns on array contents change.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ManuelDeLeon/viewmodel/issues/269, or mute the thread https://github.com/notifications/unsubscribe-auth/AED31kIUDdqZytsUQAdY4zplbkxMMFFwks5qj0MIgaJpZM4JuaDl .
I want to get contents of reactive array in autorun without depending on it - similar to
vm.property.value
. How can I do that? If I try to use.array()
method of ReactiveArray - it adds a dependency and triggers reruns on array contents change.