codediodeio / sveltefire

Cybernetically enhanced Firebase apps
MIT License
1.67k stars 127 forks source link

Make Firebase Service Props Optional #130

Closed ItsAlexousd closed 2 months ago

ItsAlexousd commented 1 year ago

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.

Dev1994 commented 12 months ago

Nice! No need to initialize things we don't need anymore.

ItsAlexousd commented 2 months ago

This functionality has been implemented in the master branch as of version 0.4.5. Closing this PR.