Skip to content

usePureCallback

返回传入回调的稳定引用:回调必须是纯函数,可在组件函数体内执行。

基本用法