Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase 9 compat mode vs. bundle size and performance #261

Open
hffmnn opened this issue Feb 21, 2023 · 0 comments
Open

Firebase 9 compat mode vs. bundle size and performance #261

hffmnn opened this issue Feb 21, 2023 · 0 comments

Comments

@hffmnn
Copy link
Contributor

hffmnn commented Feb 21, 2023

Reading through the upgrade notes for firebase 9 it looks like using the compat mode (like react-admin-firebase does), there are no size and no performance optimizations:

From https://firebase.google.com/docs/web/modular-upgrade

Compat - a familiar API surface which is fully compatible with the version 8 SDK, allowing you to upgrade to version 9 without changing all of your Firebase code at once. Compat libraries have little to no size or performance advantages over their version 8 counterparts.

Also:

Keep in mind: the compat libraries are a temporary solution that will be removed completely in a future major SDK version (such as version 10 or version 11). Your ultimate goal is to remove compat code and keep only version 9 modular-style code in your app.

Was it already considered migrating to the new modular approach?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant