MCPcopy
hub / github.com/jamiebuilds/react-loadable / init

Function init

src/index.js:120–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 let res = null;
119
120 function init() {
121 if (!res) {
122 res = loadFn(opts.loader);
123 }
124 return res.promise;
125 }
126
127 ALL_INITIALIZERS.push(init);
128

Callers 4

createLoadableComponentFunction · 0.85
constructorMethod · 0.85
preloadMethod · 0.85
flushInitializersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…