返回全部术语
33前端与网页常见坑

State

状态

界面当前持有的数据,状态改变时页面会自动更新。

举个例子

当我点击收藏按钮后,state 变为 true,图标变成实心。

相关资源

复制提示词

Explain what state this component holds and where that state should live.

相关术语

查看全部