@lynx-js/react / memo
函数: memo()
memo(Component, propsAreEqual)
Lets you skip re-rendering a component when its props are unchanged.
类型参数
参数
返回
NamedExoticComponent<P>
参阅
示例
定义于
.pnpm/@types+react@18.3.28/node_modules/@types/react/ts5.0/index.d.ts:1775
memo(Component, propsAreEqual)
类型参数
参数
返回
MemoExoticComponent<T>
定义于
.pnpm/@types+react@18.3.28/node_modules/@types/react/ts5.0/index.d.ts:1779