Firebase – Can I replace a Svelte store with another store without losing my imports
I have a factory function that creates a svelte store, which is bound to a Firebase Realtime object: // $lib/firebase.ts export function realtimeStore<Project>(path: string) { let unsubscribe: () => void const projectRef = ref(realtimeDB, path) const { subscribe } =…