MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns /

Class

code/dependency-injection-module-system/src/di.jsx:16–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15export function wire(Component, deps, mapper) {
16 return class Injector extends React.Component {
17 constructor(props) {
18 super(props);
19 this._resolvedDependencies = mapper(...deps.map(fetch));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected