1

My website is showing messy components until DomContentLoaded. I would like to show a loading-spinner or hide the content until page is loaded. I'm using React SSR with UmiJS3. page loading progress as seen by Google

kambi
  • 3,291
  • 10
  • 37
  • 58

1 Answers1

0

I would suggest you to use Suspense API from React but it doesn't support ssr right now but they recommend Loadable components which referenced in here

Serdar Sayın
  • 389
  • 4
  • 11