MCPcopy Create free account
hub / github.com/dailydotdev/apps / componentDidMount

Method componentDidMount

packages/shared/src/lib/dynamicParent.tsx:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 }
35
36 async componentDidMount() {
37 const { shouldLoad } = this.props;
38 if (shouldLoad) {
39 await this.loadComponent();
40 }
41 }
42
43 async componentDidUpdate(
44 prevProps: Readonly<PC & T & { shouldLoad: boolean }>,

Callers

nothing calls this directly

Calls 1

loadComponentMethod · 0.95

Tested by

no test coverage detected