Add `initialNavigation: 'enabled'` to schematics
See original GitHub issueWe have a lot of issues reported with flickering in lazy routes in Universal. The solution is to set initialNavigation: 'enabled'
.
This is a good default for Universal apps and we should automatically try to change app.routing.module.ts
to set this flag as part of ng add @nguniversal/express-engine
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
InitialNavigation - Angular
Allowed values in an ExtraOptions object that configure when the router performs the initial navigation operation. See more... type InitialNavigation = ' ...
Read more >Angular Universal requires initialNavigation=enabled which ...
While adding Angular Universal to our app, we had to set the initialNavigation="enabled" flag on the router, in order to avoid flickering.
Read more >Technical Changes in Spartacus 3.0 - SAP
The enabled initialNavigation provides a better experience with server-side ... The options that have been added or removed can be provided in your...
Read more >Angular dynamic modules at runtime with Module Federation
To make these apps compatible with module federation, you will need to run the schematic on their projects: nx add ...
Read more >InitialNavigation - Angular
Allowed values in an ExtraOptions object that configure when the router ... 'enabled' - The initial navigation starts before the root component is...
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
@splaktar We are working on it at https://github.com/angular/universal/pull/1248
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.