[Bug] flash/flicker when opening webpage
See original GitHub issueReporting a bug?
Provide as much information as you can to reproduce the issue. If the issue is not reproducible, it can’t be fixed!
Environment
react-static 7.4.2
Steps to Reproduce the problem
Base your steps off of any freshly installed react-static template!
- react-static create react-static-test
- yarn stage && yarn serve
- open in chrome and run profiling and reload page
- there will be a frames where the rendering will be cleared and then go back to the index content. this duration is longer depending on how much that needs to be hydrated.
Expected Behavior
I expect the page to load in chrome without any flickering or graphical if the static html matches the hydrated content.
Reproducible Demo
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Your Guide to Website Flicker and How to Deal With It
What is Flicker and How Does it Happen? Flicker refers to the experience of a webpage loading once, and then quickly changing content...
Read more >Display "Flash/Flicker" Upon Startup - Apple Community
Hi all, I have a new MacBook 2 GHz (Black) and I absolutely love it. Anyway, everytime I turn the computer on the...
Read more >Safari 3 fixes Flash flicker bug - Jonathan Nicol
If you want to see the flicker bug in action, visit the homepage of the Adobe website using Safari 2, and open one...
Read more >Need some help, Series X screen white flash/flicker - Reddit
Hey, I've been trying to get some help with a problem I'm having with my new Series X. I'm using a Samsung U32J590...
Read more >Monitor's screen flickers while using the PDF files
i facing a problem, when i open the pdf files in adobe acrobat 2017 (in maximize window), my left screen start to flash/flicker, ......
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
@kvet you’re absolutely right, by adding
to
package.json
I don’t see the same problem anymore. thanks!I am not too familiar with react-static internals and its dependencies so I don’t follow what your fix to webpack-flush-chunks does. Is that a necessary to fix another issue? or can do I need to apply that in order for latest version of
react-universal-component
to start working correctly again?@shahrouzz Seems like I have a solution for the issue.
First, you need manually downgrade
react-universal-component
to 4.0.1.Also, take a look at the following thing: https://github.com/faceyspacey/webpack-flush-chunks/pull/82/files. We have applied this fix in order to get proper list of entry chunks by using patch-package