Home
>
Hooks
> useMemo(fn[, deps])
useMemo(fn[, deps])
useMemo
(()
=>
{
return
expensiveComputation
(
dep
);
},
[
dep
]);