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

Function shouldConstruct

code/third-party/public/app.js:6129–6131  ·  view source on GitHub ↗
(Component)

Source from the content-addressed store, hash-verified

6127};
6128
6129function shouldConstruct(Component) {
6130 return !!(Component.prototype && Component.prototype.isReactComponent);
6131}
6132
6133// This is used to create an alternate fiber to do work on.
6134function createWorkInProgress(current, pendingProps, expirationTime) {

Callers 1

createFiberFromElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected