Skip to content

Commit 3e4cb8a

Browse files
committed
fix(reference): address review feedback for useCallback
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
1 parent 598b3ea commit 3e4cb8a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/content/reference/react/useCallback.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,9 @@ Ora il codice è più semplice e non ha bisogno di `useCallback`. [Scopri di pi
790790
791791
---
792792
793-
### Ottimizzare un custom hook {/*optimizing-a-custom-hook*/}
793+
### Ottimizzare un custom Hook {/*optimizing-a-custom-hook*/}
794794
795-
Se stai scrivendo un [custom hook,](/learn/reusing-logic-with-custom-hooks) è consigliato avvolgere in `useCallback` tutte le funzioni che restituisce:
795+
Se stai scrivendo un [custom Hook,](/learn/reusing-logic-with-custom-hooks) è consigliato avvolgere in `useCallback` tutte le funzioni che restituisce:
796796
797797
```js {4-6,8-10}
798798
function useRouter() {

0 commit comments

Comments
 (0)