* Convenience component with default shallow equality check for sCU.
(props, context, updater)
| 613 | */ |
| 614 | |
| 615 | function PureComponent(props, context, updater) { |
| 616 | this.props = props; |
| 617 | this.context = context; // If a component has string refs, we will assign a different object later. |
| 618 | |
| 619 | this.refs = emptyObject; |
| 620 | this.updater = updater || ReactNoopUpdateQueue; |
| 621 | } |
| 622 | |
| 623 | var pureComponentPrototype = PureComponent.prototype = new ComponentDummy(); |
| 624 | pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods. |
nothing calls this directly
no outgoing calls
no test coverage detected