Design comparison
Solution retrospective
Created my first ever react application 😊 🎉. It was a fun process, but I am bothered by the fact that when the site is loaded initially, on route change, the page turns white briefly before showing page content and I was wondering if that's normal. Since this is my first react project, I would appreciate any feedback that could help me improve.
Community feedback
- @sahand-masolehPosted about 2 years ago
Hey mate!
The page turns white because your body element is white. When everything unmounts that's what you're left with.
An easy fix is to set the background color of your body element to something close to all your pages.
Marked as helpful1@Andy-CODPosted about 2 years ago@sahand-masoleh Thank you very much I’ll implement it to see if it works
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord