Image flash alt tag for a split second before showing in next js

Viewed 15

After deploying my first app with next js to netlify I noticed that when you reload the page the image flash the alt tag of that image for a split second before showing the image itself. Now I have only noticed the error when I deploy the site to netlify and I wonder if there is some issue with deployment or just that on localhost the error is to fast to notice. Here is the site were the image flash alt tag:

https://6329df86f476dc4f00c5fa95--bucolic-heliotrope-ec5e6e.netlify.app/

And this is the source code for the project: https://github.com/vercel/next-learn/tree/master/basics/demo

So basically the question is if im doing something wrong or if it is possible to load the images before the page?

0 Answers
Related