I am using phaser 3 in combination with react components. Sometimes I need to load the same game 4 or 5 times in the dom.
Is there a way to make them use the same cache? When I load several, I can see the browser window freeze up while it parses some of the images I use for sprites.
Can I create a single CacheManager and pass it to multiple game instances somehow?
Or does anyone have an alternative suggestion?