build-your-own-redux
build-your-own-redux copied to clipboard
store订阅方法有误
订阅方法末尾应该是下面这样
if (index >= 0) {
subscribers.splice(index, 1);
}
好的,谢谢,改天提个commit修改一下