-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Node.js, React Native
-
None
-
2 - S (<= 1 week)
-
5962
Whenever the schema is updated, we reinitialize the ClassMap:
https://github.com/realm/realm-js/blob/768a632f207d0ee59641782a1ba7c9e6c4c541bb/packages/realm/src/Realm.ts#L664
Since this can be quite an expensive operation, we should look into if it makes sense for this use case to be optimized, and if so, possible approaches we could take.