MCPcopy
hub / github.com/ruanyf/react-demos / App

Function App

demo13/app.js:24–35  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

22 _inherits(App, _React$Component);
23
24 function App(props) {
25 _classCallCheck(this, App);
26
27 var _this = _possibleConstructorReturn(this, (App.__proto__ || Object.getPrototypeOf(App)).call(this, props));
28
29 _this.render = _this.render.bind(_this);
30 _this.state = {
31 items: _this.props.items,
32 disabled: true
33 };
34 return _this;
35 }
36
37 _createClass(App, [{
38 key: 'componentDidMount',

Callers

nothing calls this directly

Calls 2

_classCallCheckFunction · 0.85

Tested by

no test coverage detected