'use strict';

module.exports = class Component {
  constructor(props) {
    this.props = props;
  }
};

@@ -90,15 +90,95 @@
  props;%0A
+    this.state = %7B%7D;%0A  %7D%0A%0A  setState(obj) %7B%0A    Object.assign(this.state, obj);%0A
   %7D%0A%7D;%0A

Add setState to Component class