sveltefire icon indicating copy to clipboard operation
sveltefire copied to clipboard

Make Firebase Service Props Optional

Open ItsAlexousd opened this issue 1 year ago • 1 comments

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.

ItsAlexousd avatar Oct 03 '23 07:10 ItsAlexousd

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

Dev1994 avatar Oct 09 '23 11:10 Dev1994

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

ItsAlexousd avatar Jul 18 '24 11:07 ItsAlexousd