-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESBuild - Firebase/Firestore data is only shown after I manipulate something in the dom #25701
Comments
This appears to be a bug but we will need to look at a reproduction to find and fix the problem. Can you setup a minimal reproduction please? You can read here why this is needed. A good way to make a minimal reproduction is to create a new app via |
Ok I created a sample https://github.com/10eputzen/angularBugRepo You just need to add your firebase (with firestore) config into to add some mock data. |
@10eputzen
Hope this helps |
This should been fixed by #25986 which will be available on NPM later this week. If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
After changing the builder from
"builder": "@angular-devkit/build-angular:browser"
to
"builder": "@angular-devkit/build-angular:browser-esbuild"
I experience a very weird behavior for my data that I get from firestore in my Angular App in Development [it works fine on production!].
The data is loaded (I can see it in the console) but it would not show in the html template.
If I resize the page or click any button on it, the data will suddenly appear.
I already tried changing between RXJS and Signals to deliver the data to my component, but only going back to webpack fixes the issue.
This is how I call an instance of firestore in my dataservice
const app = initializeApp(firebaseConfig);
const db = getFirestore(app);
Minimal Reproduction
"builder": "@angular-devkit/build-angular:browser"
to
"builder": "@angular-devkit/build-angular:browser-esbuild"
Exception or Error
Your Environment
Anything else relevant?
It works fine on production (firebase hosting)
The text was updated successfully, but these errors were encountered: