Skip to content

Conversation

@jamesdaniels
Copy link
Member

@jamesdaniels jamesdaniels commented Nov 18, 2020

It turns out that in lazy-loads and other sufficiently complex use-cases (e.g, not my sample app) ngc / webpack has now (6.1) decided that our injectables (such as AngularFirestore) can be duplicated.

While I was aware this could happen (lazy-loads for instance) and intended my instance cache to cover this and the HMR use-case, I had a bug in my fetch logic which would try to reinitialize the SDK instance even when the settings hadn't changed. Whoops. Explains why this wasn't working for HMR users as intended either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant