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
It appears that it does not ignore member functions, but in reality, member functions are not necessary to be included in the patch result, and patch also resets member functions.
exportclassChildStore<R>{/** we don't need patch this, but it will*/privategetRoot: ()=>R;get$root(){returnthis.getRoot();}constructor(root: R){this.getRoot=()=>root;}}
It appears that it does not ignore member functions, but in reality, member functions are not necessary to be included in the patch result, and patch also resets member functions.
result:
I think we should check if the value is a function and filter it out.
The text was updated successfully, but these errors were encountered: