Pre-render from external source returns non-rendered html instead of static HTML Page
See original GitHub issue🐞 Bug report
What modules are related to this issue?
- aspnetcore-engine
- builders
- common
- express-engine
- hapi-engine
- module-map-ngfactory-loader
Is this a regression?
No
Description
When pre-rendering routes with any http calls, the route will be skipped to a non-rendered index.html
🔬 Minimal Reproduction
Any component with http call like using AngularFirestore
🔥 Exception or Error
🌍 Your Environment
Angular CLI: 9.1.7
Node: 13.5.0
OS: darwin x64
Angular: 9.1.9
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.900.7
@angular-devkit/build-angular 0.901.7
@angular-devkit/build-optimizer 0.901.7
@angular-devkit/build-webpack 0.901.7
@angular-devkit/core 9.0.7
@angular-devkit/schematics 9.1.7
@angular/cli 9.1.7
@angular/fire 6.0.0
@ngtools/webpack 9.1.7
@nguniversal/builders 9.1.1
@nguniversal/common 9.1.1
@nguniversal/express-engine 9.1.1
@schematics/angular 9.1.7
@schematics/update 0.901.7
rxjs 6.5.5
typescript 3.7.5
webpack 4.42.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
General tips and best practices - Troubleshooting - Prerender.io
The Prerender service renders all JavaScript content on your page and returns the fetched and prerendered DOM content to the middleware, which ...
Read more >Prerendering static pages - Angular
Prerendering is the process where a dynamic page is processed at build time generating static HTML. How to prerender a pagelink. To prerender...
Read more >Pre-Rendering into Static HTML Files - Create React App
The primary benefit of pre-rendering is that you get the core content of each page with the HTML payload—regardless of whether or not...
Read more >Next.JS - Pre-Rendering - Topcoder
Next.js pre-generates HTML for every page rather than having it all done by the client-side JavaScript. Pre-rendering is finished by default ...
Read more >JavaScript Crawling Study: Rendered vs. Non-Rendered HTML
96% of the domains we crawled have differences between the rendered HTML and the original source code (non-rendered HTML).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is solely an issue with Angular Fire. They’ve had several issues with Angular Universal compatibility, but unfortunately we do not own or contribute to that project.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.