preact 源码阅读-3
https://juejin.cn/post/6884862792923840526
将更新放到 enqueueRender
// component.js
BaseComponent.prototype.setState = function (update, callback) {
// only clone state when copying to nextState the first time.
let s;
if (this._nextState != nu...
somelearningnote.hashnode.dev1 min read