Using React, dynamic components to listen for Phaser.Game changes

Yeah, I’d seen that tutorial, though that’s more just a basic example of wiring React and Phaser into the same WebPack project. Doesn’t really add anything new to where I am; I’m way ahead of that point :wink:

In the end, my approach is to include a flavour of redux in the UI, as this way I can tell the UI what and when to render via dispatched actions from the Phaser instance. Something like

onSelectGameObject() {
  ...
  store.dispatch(selectGameObject(this)); 

I briefly played with Vue, which DOES include directing binding of the Component properties, but I’ve never used Vue until now, and didn’t want to spend lots of time trying to get my head around the new framework & render pipeline. Just want a proof of concept for now, to get the demo workable