Reading a parameter value can be marginally expensive (because of type coercion). Therefore, it makes sense to cache the parameter value, at least while the component is actively rendering itself.
英
美
释义
读取一个参数值会耗费不少资源(因为类型的强制转换)。因此,缓存参数值是有意义的,至少当组件正在呈现自己时。
把海词放在桌面上,查词最方便
触屏版
|
电脑版
©2003 - 2024 海词词典(Dict.cn)
立即下载