摘要: 一篇对Dan的 How Are Function Components Different from Classes? 一文的个人阅读总结,内容来自于此。强烈推荐阅读 Dan Abramov.的博客。 函数式组件和Class组件有什么不同? Dan很直接的给出了答案: 函数式组件捕获了渲染所用的值。 阅读全文
posted @ 2021-03-05 11:45 xuweiblog 阅读(762) 评论(0) 推荐(0)