sveltefire
sveltefire copied to clipboard
Make Firebase Service Props Optional
This PR addresses the concern raised in issue #128. Currently, users are required to provide all Firebase service props (auth, firestore, storage) when using the FirebaseApp
component, even if they only intend to use one of the services.
To enhance flexibility and usability, this PR makes the Firebase service props optional. Now, users can choose to provide only the services they need, ensuring a more streamlined and versatile experience.
Nice! No need to initialize things we don't need anymore.
This functionality has been implemented in the master branch as of version 0.4.5. Closing this PR.