MCPcopy Create free account
hub / github.com/ReactMaker/simple_react_startkit / componentDidMount

Method componentDidMount

src/containers/index.js:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6class Main extends Component {
7 // this is test function, please remove it before develop.
8 async componentDidMount() {
9 const a = await Promise.resolve({ react: 1, maker: 2 });
10 const b = { ...a };
11 console.log(b);
12 }
13
14 render() {
15 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected