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

Function shouldConstruct

code/event-handlers/public/app.js:6226–6228  ·  view source on GitHub ↗
(Component)

Source from the content-addressed store, hash-verified

6224};
6225
6226function shouldConstruct(Component) {
6227 return !!(Component.prototype && Component.prototype.isReactComponent);
6228}
6229
6230// This is used to create an alternate fiber to do work on.
6231function createWorkInProgress(current, pendingProps, expirationTime) {

Callers 1

createFiberFromElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected