getFirebaseContext

Get the Firebase SDK context from a component.

Example

<script>
    import { getFirebaseContext } from 'sveltefire'
    const { auth, firestore, storage, rtdb, analytics } = getFirebaseContext();
</script>