'React app shows whilte scree for 2sec on google PageSpeed Insights?

I am trying to improve score on google PageSpeed Insights but for few second my screen shows white i don't know why, so my question is how to fix this2 sec white screen and speed index as you see in below screenshot.

Thanks

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source