diff --git a/src/content/reference/react/captureOwnerStack.md b/src/content/reference/react/captureOwnerStack.md index 7e4fe79fe..5595b957f 100644 --- a/src/content/reference/react/captureOwnerStack.md +++ b/src/content/reference/react/captureOwnerStack.md @@ -4,7 +4,7 @@ title: captureOwnerStack -`captureOwnerStack` reads the current Owner Stack in development and returns it as a string if available. +`captureOwnerStack` lê a Pilha de Proprietários (Owner Stack) atual em desenvolvimento e a retorna como uma string, se disponível. ```js const stack = captureOwnerStack(); @@ -16,11 +16,11 @@ const stack = captureOwnerStack(); --- -## Reference {/*reference*/} +## Referência {/*reference*/} ### `captureOwnerStack()` {/*captureownerstack*/} -Call `captureOwnerStack` to get the current Owner Stack. +Chame `captureOwnerStack` para obter a Pilha de Proprietários atual. ```js {5,5} import * as React from 'react'; @@ -33,33 +33,33 @@ function Component() { } ``` -#### Parameters {/*parameters*/} +#### Parâmetros {/*parameters*/} -`captureOwnerStack` does not take any parameters. +`captureOwnerStack` não recebe parâmetros. -#### Returns {/*returns*/} +#### Retorna {/*returns*/} -`captureOwnerStack` returns `string | null`. +`captureOwnerStack` retorna `string | null`. -Owner Stacks are available in -- Component render -- Effects (e.g. `useEffect`) -- React's event handlers (e.g. `