MCPcopy Index your code
hub / github.com/caseywebdev/react-list / shouldConstruct

Function shouldConstruct

docs/index.js:12878–12881  ·  view source on GitHub ↗
(Component)

Source from the content-addressed store, hash-verified

12876 return new FiberNode(tag, pendingProps, key, mode);
12877}
12878function shouldConstruct(Component) {
12879 Component = Component.prototype;
12880 return !(!Component || !Component.isReactComponent);
12881}
12882function createWorkInProgress(current, pendingProps) {
12883 var workInProgress = current.alternate;
12884 null === workInProgress

Callers 3

updateMemoComponentFunction · 0.85
beginWorkFunction · 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…