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.

Get rid of white flash on page reload?

See original GitHub issue

Whenever I save my code, the page gets reloaded and I see a white screen flash until my code replaces it. I am using a custom firefox theme that makes everything black including the new tab/page. Somehow, it seems this is being overriden when I am developing with create-react-app.

I have tried adding background-color to the body inside the index.html, but that did not seem to stop the flashing.

Any idea how to get rid of this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
shelldandycommented, May 8, 2018

server side rendering

2reactions
shelldandycommented, May 7, 2018

ssr

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to stop white flashing on page reload? : r/reactjs - Reddit
You'll get a flash no matter what you do - that's the browser's body rendering first. If you don't want it to be...
Read more >
How to prevent the white 'flash' on page load created by ...
So my solution was to place a <img> with display:none just before the <div> with the background image. This will load the image...
Read more >
How to get rid of that "white flash" during a page reload
Hi Everybody! I've a problem on my testside. Each time I klick a link in the menu or just reload the current page,...
Read more >
Topic: How do I remove the reload "flash" when ... - Themeco
Hi,. Unfortunately, that did not help. The background still reloads with a flash and a bump when navigating between pages. What gives? Thanks...
Read more >
Avoiding background and main menu reloads (white flash ...
Once your browser gets the code, it will begin to 'draw' the elements inside of your window. The 'White-Flash' is the time inbetween...
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