I have a React App, that basically updates a bunch a class on a container, so the background image can be changed a random intervals.
I'd like to preload these images, so once their respective class is applied, they are avaible and not subject to latency of a network request and the user's browser.
Are there suggested best practices for preloading assets such as background images?