Skip to content

Commit 2d0da57

Browse files
committed
repeat when owner stacks are available
1 parent 5b8bc87 commit 2d0da57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/content/reference/react/captureOwnerStack.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ function Component() {
4747

4848
`captureOwnerStack` returns `string | null`.
4949

50-
If no Owner Stack is available, it returns an empty string.
51-
Outside of development builds, `null` is returned.
50+
If no Owner Stack is available (outside of render, Effects, Events and React error handlers), it returns an empty string (see [Troubleshooting: The Owner Stack is empty](#the-owner-stack-is-empty-the-owner-stack-is-empty)). Outside of development builds, `null` is returned (see [Troubleshooting: The Owner Stack is `null`](#the-owner-stack-is-null-the-owner-stack-is-null)).
5251

5352
#### Caveats {/*caveats*/}
5453

0 commit comments

Comments
 (0)