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
{{ message }}
Repository navigation
Commit 66fdf7a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/api/extendobservable.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,12 @@ export function extendObservable<A extends Object, B extends Object>(target: A,
17
17
properties.forEach(propSet=>{
18
18
invariant(typeofpropSet==="object","all arguments of extendObservable should be objects");
19
19
invariant(!isObservable(propSet),"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540");
* However, enabling compareStructural can be convienent if you always produce an new aggregated object and don't want to notify observers if it is structurally the same.
60
60
* This is useful for working with vectors, mouse coordinates etc.
0 commit comments