I have an app that takes some time to load its JavaScript assets.
There is a root div container <div id="root"></div>
into which the app is loaded.
While it's not initialised, I am showing a spinner div with some inline styling which begins showing instantly when I load page.
As I see, React just empties the container and puts everything it wants into it then, so any crap inside that container before React initialisation shouldn't break anything?
Are there reasons not to do it like so?