MCPcopy Create free account
hub / github.com/kdchang/reactjs101 / constructor

Method constructor

Ch02/webpack-example/app/index.js:5–9  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3
4class App extends React.Component {
5 constructor(props) {
6 super(props);
7 this.state = {
8 };
9 }
10 render() {
11 return (
12 <div>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected