question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `initialNavigation: 'enabled'` to schematics

See original GitHub issue

We 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vikermancommented, Sep 25, 2019
0reactions
angular-automatic-lock-bot[bot]commented, Feb 6, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found