MCPcopy Index your code
hub / github.com/ctrlplusb/react-async-component / getChildContext

Method getChildContext

src/asyncComponent.js:92–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 }
91
92 getChildContext() {
93 return {
94 asyncComponentsAncestor:
95 state.asyncComponents == null
96 ? null
97 : {
98 isBoundary: serverMode === 'boundary',
99 },
100 }
101 }
102
103 componentWillMount() {
104 if (this.context.asyncComponents != null) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected