MCPcopy
hub / github.com/stenciljs/core / componentWillLoad

Method componentWillLoad

test/prerender-shadow/src/components/cmp-c.tsx:20–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18})
19export class CmpC {
20 componentWillLoad() {
21 return new Promise((resolve) => {
22 setTimeout(() => {
23 console.log('cmp-c componentWillLoad resolved');
24 resolve();
25 }, 1500);
26 });
27 }
28
29 render() {
30 return (

Callers

nothing calls this directly

Calls 2

resolveFunction · 0.85
setTimeoutFunction · 0.50

Tested by

no test coverage detected