How can I show my own loader instead of a blank white screen?
For Example, Tweeter Shows the logo while the page is loading, same for Facebook, google AdSense, etc.
Look at this Gif, I want something like this in Next Js.
I guess this is something to do with the _document.js. There is a similar question for react js (render the loader in index.html) But I cant figure out how to do it in next js.