MCPcopy Create free account
hub / github.com/ctrlplusb/react-injectables / getChildContext

Method getChildContext

src/InjectablesProvider.js:23–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 getChildContext() {
24 return {
25 registerInjector: (args) => this.registerInjector(args),
26
27 removeInjector: (args) => this.removeInjector(args),
28
29 updateInjector: (args) => this.updateInjector(args),
30
31 registerInjectable: (args) => this.registerInjectable(args),
32
33 removeInjectable: (args) => this.removeInjectable(args)
34 };
35 }
36
37 getRegistration(args) {
38 const { injectionId } = args;

Callers

nothing calls this directly

Calls 5

registerInjectorMethod · 0.95
removeInjectorMethod · 0.95
updateInjectorMethod · 0.95
registerInjectableMethod · 0.95
removeInjectableMethod · 0.95

Tested by

no test coverage detected