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

Function shouldConstruct

code/new-context-api/public/app.js:6257–6259  ·  view source on GitHub ↗
(Component)

Source from the content-addressed store, hash-verified

6255};
6256
6257function shouldConstruct(Component) {
6258 return !!(Component.prototype && Component.prototype.isReactComponent);
6259}
6260
6261// This is used to create an alternate fiber to do work on.
6262function createWorkInProgress(current, pendingProps, expirationTime) {

Callers 1

createFiberFromElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected