javascript - why is that an array is having a "_ractive" property? -
I've found that every array which is tolerant of data for ractive, is a passive property ... this thing , This array looks like an executable: the object that is a key: the value combination, and it is not considered in the arrays
So I added a screenshot about the Chrome Inspection so that the point is clear.
Can someone help me understand better?
As part of the tracking array explanation in detail in the Reactive array revision docs, array methods are wrapped up And:
Adds the reactative array to a non-enamelable (in modern browsers), which contains information about which relies on reactive instances, arrays, and the keypath Has been assigned.
You can prevent array modification by using modified array: false
, but then you need to call ractive yourself, Or You can use the reactive array modification methods such as
ractive.push (array, item)
(An added advantage is that it returns the call when it is promised Any transition will be completed, if it is relevant to your use).
Comments
Post a Comment