realm-js
realm-js copied to clipboard
Bundling with Metro warns with "Require cycles are allowed, but can result in uninitialized values."
We used to resolve these require cycles as part of producing a rollup bundle, but these will now surface as warnings when bundling with Metro.
We could probably revisit the decision to use a internal.ts
to control the import order and instead focus on breaking the cycles:
https://github.com/realm/realm-js/blob/1e1e48a0f906d471b4a046168ed8cd628ef2d70f/packages/realm/src/internal.ts#L21