You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/reference/react/Profiler.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Avvolgi un albero di componenti in un `<Profiler>` per misurare le prestazioni d
40
40
#### Props {/*props*/}
41
41
42
42
*`id`: Una stringa che identifica la parte dell'interfaccia utente che stai misurando.
43
-
*`onRender`: Una [`callback onRender`](#onrender-callback) che React chiama ogni volta che i componenti nell'albero profilato si aggiornano. Riceve informazioni su cosa è stato renderizzato e quanto tempo ha richiesto.
43
+
*`onRender`: Una [`onRender` callback](#onrender-callback) che React chiama ogni volta che i componenti nell'albero profilato si aggiornano. Riceve informazioni su cosa è stato renderizzato e quanto tempo ha richiesto.
44
44
45
45
#### Caveats {/*caveats*/}
46
46
@@ -96,8 +96,8 @@ Il profiling aggiunge un overhead aggiuntivo, quindi **è disabilitato di defaul
96
96
97
97
`<Profiler>` ti permette di raccogliere misurazioni programmaticamente. Se cerchi un profiler interattivo, prova la scheda _Profiler_ in [React Developer Tools](/learn/react-developer-tools). Espone funzionalità simili come estensione del browser.
98
98
99
-
I componenti avvolti in `<Profiler>` saranno anche contrassegnati nella [traccia Components](/reference/dev-tools/react-performance-tracks#components) di React Performance tracks anche nelle build con profiling.
100
-
Nelle build di development, tutti i componenti sono contrassegnati nella traccia Components indipendentemente dal fatto che siano avvolti in `<Profiler>`.
99
+
I componenti avvolti in `<Profiler>` saranno contrassegnati nella [Component tracks](/reference/dev-tools/react-performance-tracks#components) di React Performance tracks, anche nelle build con profiling.
100
+
Nelle build di development, tutti i componenti sono contrassegnati nella Components track indipendentemente dal fatto che siano avvolti in `<Profiler>`.
0 commit comments