馬老師從網(wǎng)絡(luò)到分布式
function Component(props, context, updater) {
?this.props = props;
?this.context = context;
?this.refs = emptyObject;
?this.updater = updater || ReactNoopUpdateQueue;}Component.prototype.isReactComponent = {};Component.prototype.setState = function(partialState, callback) {
標(biāo)簽: