The default fallback page is always loaded first, even if the browser's address bar indicates other paths.
See original GitHub issueFrom: @fingers10
(The original post is in the Issue #2)
@jsakamoto , I would like to understand more on flickering effect that occurs when prerendered site is loaded. Please can you assist me on this.
I have this repo - https://github.com/fingers10/WasmServerPrerender published to GitHub Pages using the below URL.
Here is the sample URL that I’m using for testing - https://fingers10.github.io/WasmServerPrerender/fetchdata
Steps I followed,
- When I load in incognito window in chrome - The flickering effect is minimal. Only Data Shown in the screen is flickering. This is fine.
- When I load in normal window in chrome -
index.html
inwwwroot
loads and the actual page loads. Is this the expected behavior? - When I reload in both normal and in incognito window in chrome -
index.html
inwwwroot
loads and the actual page loads. Is this the expected behavior?
Here is the video showing the same.
Thank you for your support and teaching.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
React-router URLs don't work when refreshing or writing ...
The index page is served, but the URL is preserved in the browser, so once the React application loads, it detects the URL...
Read more >Functions: getStaticPaths
Learn how to fetch data and generate static pages with `getStaticPaths`. ... false } means other routes should 404. return { paths, fallback:...
Read more >Angular Router: Child Routes, Auxiliary Routes, Master Detail
Changing this does NOT cause a full page reload. This means that when the router navigates to /lessons , that URL is really...
Read more >ASP.NET Core Blazor routing and navigation
This article explains how to manage Blazor app request routing and how to use the NavLink component to create navigation links.
Read more >Faster multipage applications with streams
Learn how you can use workbox-streams to create multipage applications that use partial markup from the service worker cache and partial ...
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
Yes we can! I posted about this problem to the ASP.NET Core repository right now.
And I also tweeted it.
I’ll appreciate it if you vote my issue comment and retweet my tweet above.
@jsakamoto, Thanks for the inputs and fix. Now the correct page is getting loaded.
The flickering effect is minimal for simple screen - https://fingers10.github.io/WasmServerPrerender/fetchdata
But obvious for the following URL - https://ilovedotnet.org/blogs/blazor-wasm-publishing-to-iis
Here is the sample video.
https://user-images.githubusercontent.com/43729469/178150015-ad04a36b-7a52-41c9-8098-14ac19b42027.mp4