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

Reduce bundle size by refactoring Firebase SDK bindings to v9 modules #1107

Open
mundanelunacy opened this issue May 24, 2021 · 2 comments
Open

Comments

@mundanelunacy
Copy link

Do you want to request a feature or report a bug?

Feature. Firebase recently announced they would introduce tree shaking with version 9.

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

Could reduce overall app footprint if react-redux-firebase bindings could be updated so that it only imports necessary modules.

What is the current behavior?

Firebase JSSDK footprint is usually 100Kb when bundled with a React App (Firebase auth, and firestore included)

What is the expected behavior?

  • Core functionality of react redux firebase remains intact despite >20% reduction in Firebase JSSDK footprint
  • Developers given option to use v9 modules or stay with v8 namespace
@prescottprue
Copy link
Owner

Hey, thanks for reaching out! Yeah, agreed this would be great, but pretty sure it will be a breaking change (still need to investigate a bit more).

@dancixx
Copy link

dancixx commented Sep 27, 2021

Any update on this topic? :)

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

No branches or pull requests

3 participants