I am putting a spinning progress image in the center of the react root div as the loading progress indicator.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html lang="en">
<head>
<title>Full Screen Centered Spinning</title>
<style>
.loading{
display: flex;
flex-direction: row;
align-content: center;
justify-content: center;
min-height: 100vh; /* inner div to 100% screen height */
}
</style>
</head>
<body>
<div id="root">
<div class="loading">
<img alt="loading" src="images/spinner.svg" />
</div>
</div>
</body>
</html>