react-admin-firebase icon indicating copy to clipboard operation
react-admin-firebase copied to clipboard

Firebase 9 compat mode vs. bundle size and performance

Open hffmnn opened this issue 2 years ago • 0 comments

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?

hffmnn avatar Feb 21 '23 13:02 hffmnn