ana

Results 5 issues of ana

[实现篇-多节点diff-Demo2](https://react.iamkasong.com/diff/multi.html#demo2) Demo1中的新旧节点的对比,因为在遍历中第二次中断,所以lastPlacedIndex的值为a的索引0。 ``` // 之前 abcd // 之后 acdb ``` 但是Demo2中遍历第一次就中断,lastPlacedIndex的值为何还是0呢?

## 概述 我按照`README.md`的指示成功运行项目。 因为该项目使用了别名,但是没有添加`jsconfig.json`文件。 所以我就自己在项目中添加了`jsconfig.json`文件。 结果虽然别名引用跳转能够正常工作,但是在 vscode 下方面板的**问题**选项卡中显示 > 找不到文件“/Users/huang/Desktop/taro-test/taro-yanxuan/node_modules/mobile-detect/mobile-detect”。 ## 详细 ### 目录结构 我只添加了`jsconfig.json`文件 ![image](https://user-images.githubusercontent.com/25973349/60793448-52574f80-a19a-11e9-8472-d2189d3fc43c.png) ### `jsconfig.json`代码 ```json { "exclude": ["node_modules/"], "target": "es6", "checkJs": true, "allowSyntheticDefaultImports": true, "compilerOptions": {...

This update is a prerequisite for fixing [antd issues#28378](https://github.com/ant-design/ant-design/issues/28378)

fix issue [#244](https://github.com/react-component/field-form/issues/244) and issue [#239](https://github.com/react-component/field-form/issues/239)

## 复现步骤 我按照README.md的提示运行 ``` npm install npm start open http://localhost:8000 ``` 当我用浏览器打开`http://localhost:8000`时,终端报错,并且无法打开页面。 终端错误如下: ``` App running at: - Local: http://localhost:8000 (copied to clipboard) - Network: http://192.168.3.138:8000 (node:70080) UnhandledPromiseRejectionWarning: TypeError: reactRouter.matchPath...