class React3Module {
  constructor() {
    this.userData = {};
  }

  setup(react3RendererInstance) { // eslint-disable-line no-unused-vars

  }

  update() {

  }

  dispose() {

  }
}

export default React3Module;

import THREE from 'three';

class React3Module {
  constructor() {
    this.userData = {};
    this.uuid = THREE.Math.generateUUID();
  }

  setup(react3RendererInstance) { // eslint-disable-line no-unused-vars

  }

  update() {

  }

  dispose() {

  }
}

export default React3Module;

Create uuid for module types