Canvas briefly huge white box until loaded

My file loads so that’s great but it appears as a big white box on load. I am using web(JS)… so js is creating an instance of the rive in a canvas… My file is growing in size and I am trying to tackle that but I was hoping there might be some other thoughts on this loading issue…