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

Function shouldConstruct

code/styling/public/app.js:6896–6898  ·  view source on GitHub ↗
(Component)

Source from the content-addressed store, hash-verified

6894};
6895
6896function shouldConstruct(Component) {
6897 return !!(Component.prototype && Component.prototype.isReactComponent);
6898}
6899
6900// This is used to create an alternate fiber to do work on.
6901function createWorkInProgress(current, pendingProps, expirationTime) {

Callers 1

createFiberFromElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected