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
Can this replace facebook's immutable library? We're experiencing some big cpu usage and garbage collector runs on our app, and we were trying to isolate the problem.
I'm not sure about the functionality, but from my quick test, it's missing two functions (I'm excluding fromJS because there's from()): toJS and get. Probably toJS() could be implemented simply with:
function toJS(obj) {
return asDeepMutable(obj);
}
I'm not sure about get()..
The text was updated successfully, but these errors were encountered:
Can this replace facebook's immutable library? We're experiencing some big cpu usage and garbage collector runs on our app, and we were trying to isolate the problem.
I'm not sure about the functionality, but from my quick test, it's missing two functions (I'm excluding fromJS because there's from()):
toJS
andget
. Probably toJS() could be implemented simply with:I'm not sure about get()..
The text was updated successfully, but these errors were encountered: