Skip to content

Conversation

Ehesp
Copy link
Member

@Ehesp Ehesp commented Sep 16, 2025

This PR creates a feature which enables module overrides.

Since we're supporting Angular components via AngularFire, which wraps Firebase exports in zones, our own internal core implementation does not know about these, and thus usage from Angular will call the Firebase exports and potentially cause issues with reactivity, SSR etc.

This PR will allow the Angular implementation to set a module implementation which core will use if available, otherwise it'll fallback to firebase/auth.

import { setAuthOverrideModule } from '@firebase-ui/core/overrides'; // Export TODO

// ... somewhere in the app
setAuthOverrideModule(ui, () => import('@angular/fire/auth'));

@Ehesp Ehesp changed the base branch from @invertase/align-core-tests to @invertase/align-core October 1, 2025 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant