mirror of
https://github.com/KieSun/all-of-frontend.git
synced 2024-11-13 10:28:14 +08:00
feat: 更改内容表述
This commit is contained in:
parent
c84b4ba2e3
commit
db0823221c
@ -296,12 +296,13 @@ JavaScrip 在变量被创建时分配内存,并在对象不再使用时自动
|
||||
- [ ] [What’s the Difference Between Synthetic React Events and JavaScript Events?](https://betterprogramming.pub/whats-the-difference-between-synthetic-react-events-and-javascript-events-ba7dbc742294),需自备梯子
|
||||
- [ ] [React 17 removes event pooling in the modern browsers](https://blog.saeloun.com/2021/04/06/react-17-removes-event-pooling-in-modern-system.html)
|
||||
|
||||
### 组件
|
||||
组件允许你将 UI 拆分为独立可复用的代码片段,并对每个片段进行独立构思
|
||||
### 如何编写一个组件
|
||||
组件是 React 中的核心概念,页面当中的所有元素都是通过 React 组件来表达。创建一个组件通常使用 Class 和函数式 Functional两种方式,两者创建的组件在用法和生命周期上有一定的区别,但是可以互相引用。
|
||||
|
||||
- [ ] 文档
|
||||
- [ ] [React 官方文档](https://zh-hans.reactjs.org/docs/components-and-props.html)
|
||||
- [ ] [React 官方文档](https://reactjs.org/docs/components-and-props.html)
|
||||
- [ ] 推荐文章
|
||||
- [ ] [[译]React函数组件和类组件的差异](https://jishuin.proginn.com/p/763bfbd4cad4)
|
||||
- [ ] [寫 React Components 該注意的6個地方與技巧](https://medium.com/@chihsuan/%E5%AF%AB-react-components-%E8%A9%B2%E6%B3%A8%E6%84%8F%E7%9A%846%E5%80%8B%E5%9C%B0%E6%96%B9%E8%88%87%E6%8A%80%E5%B7%A7-faa2bb87a18e)
|
||||
- [ ] [编写高效且可读组件的 5 个最佳实践](https://www.infoq.cn/article/ry4icky5crb1pokvi0ql)
|
||||
- [ ] [designing-react-components-best-practices](https://www.thisdot.co/blog/designing-react-components-best-practices)
|
||||
|
Loading…
Reference in New Issue
Block a user