PatrickJS-starter
PatrickJS-starter copied to clipboard
Flash of white when navigating between routes via URL (pathlocationstrategy)
Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass
How should I remove the flash of white (aka "loading..." screen) when I navigate between routes via URL. I am using pathlocationstrategy now to avoid the hash in the url. Could anyone recommend a server side configuration that works with the starter, to use pathlocationstrategy and make the route navigation work like hashlocationstrategy?
the flash of white means you're making a request for a new page at that url so the client code is not running where it would take over the links and show client generated views