程序员每日英语
React, and many other UI libraries, model UI as a tree. Thinking of your app as a tree is useful for understanding the relationship between components. This understanding will help you debug future concepts like performance and state management.
React 和其他UI库,使用树的模型来描述UI,想象下通过将应用作为树结构,能让你能够更好的理解组件间关系,这种理解也能够帮助你明白一些后续的概念 如性能和状态管理。
React, and many other UI libraries, model UI as a tree. Thinking of your app as a tree is useful for understanding the relationship between components. This understanding will help you debug future concepts like performance and state management.
React 和其他UI库,使用树的模型来描述UI,想象下通过将应用作为树结构,能让你能够更好的理解组件间关系,这种理解也能够帮助你明白一些后续的概念 如性能和状态管理。
展开
1
点赞