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
The performance of this can be improved in relation to collections, where we can see if all the keys are part of a collection, and if so - use keysChanged to update subscribers in a more optimized way.
Solution
Either:
Update multiset to support the above, or
Create a setCollection that is optimized for collections
Problem
Currently, the way
multiset
works is that it notifies subscribers of any changes to the onyx keys in a loop:react-native-onyx/lib/Onyx.js
Lines 985 to 992 in f96fa2d
The performance of this can be improved in relation to collections, where we can see if all the keys are part of a collection, and if so - use keysChanged to update subscribers in a more optimized way.
Solution
Either:
multiset
to support the above, orsetCollection
that is optimized for collectionscc @marcaaron
The text was updated successfully, but these errors were encountered: