Chunyang Huo
Chunyang Huo
将第 21 修改为 `console.log(newObj.foo.value)`: 
第 261 页,第 ·04· 行,将 `newChildren` 改为 `oldChildren`: 
将: ```js for (const [key, value] of m { ``` 改为: ```js for (const [key, value] of m) { ```

删除 `09` 行,并在原来 `09` 行位置上添加下面两句代码: ```js const anchor = newChildren[newEndIdx + 1] ? newChildren[newEndIdx + 1].el : null; patch(null, newChildren[i], container, anchor); ```
这是为了动态获取锚点元素
您好,书主要是讲思路。比如响应系统一节,书里面从零开始,以 ECMA 规范入手,实现了一个响应系统。照搬源码过来讲解不是本书的目的。
往后看哦,在调度执行一节有讲
将下图代码中的第 4 行挪到 第 8 行: 
