Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Latest commit

 

History

History
executable file
·
7 lines (6 loc) · 390 Bytes

Troubleshooting.md

File metadata and controls

executable file
·
7 lines (6 loc) · 390 Bytes

热加载导致代码错误

新的 react-hot-loader v4 在代码热加载的时候并不会像以前一样重新触发 componentDidMount 系列钩子函数, 见 issues 771 issue 64。所以截止目前,如果你改动了 logic 层,你需要重新刷新页面。。