馬老師2022JVM精講
function ComponentDummy() {}ComponentDummy.prototype = Component.prototype;function PureComponent(props, context, updater) {
?this.props = props;
?this.context = context;
?this.refs = emptyObject;
?this.updater = updater || ReactNoopUpdateQueue;}
標(biāo)簽: