You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// in SSR, there is no __ob__. Mock for reactivity check
if(!hasOwn(observed,'__ob__')){
def(observed,'__ob__',mockObserver(observed))
}
This code only mock __ob__ on observed itself not include its children. Making it recursive could fix this issue, but I'm not sure it's a good solution.
yarn
node index.js
It should log an object
{ old: false, new: true }
but it logs{ old: false, new: { value: true }}
There is also an index.html file to show the (expected) behavior on a browser
The text was updated successfully, but these errors were encountered: