Open mongodben opened 1 year ago
right now, with the Realm Web SDK, you must import the entire SDK with an import alias in import statements, such as:
import * as Realm from "realm-web";
instead of this, i would like imports to behave as they do for the Node.js/React Native SDKs, so i can just do:
import Realm from "realm-web"; // or import { App } from "realm-web";
i would like to see this change for the following reasons:
support the API:
import Realm from "realm-web";
Would be a major improvement
@mongodben Thanks for the suggestion - it makes good sense.
Problem
right now, with the Realm Web SDK, you must import the entire SDK with an import alias in import statements, such as:
instead of this, i would like imports to behave as they do for the Node.js/React Native SDKs, so i can just do:
i would like to see this change for the following reasons:
Solution
support the API:
How important is this improvement for you?
Would be a major improvement