website/playground/PrettierFormat.js/PrettierFormat/componentDidUpdate
class PrettierFormat:  componentDidUpdate(prevProps) {
    for (const key of ["code", "options", "debugAst", "debugDoc", "reformat"]) {
      if (prevProps[key] !== this.props[key]) {
        this.format();
        break;
      }
    }
  }