We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61cc8ae commit d6e8d90Copy full SHA for d6e8d90
src/content/reference/react/captureOwnerStack.md
@@ -19,7 +19,7 @@ Experimental versions of React may contain bugs. Don't use them in production.
19
`captureOwnerStack` reads the current **owner** Component stack and returns it as a string if available.
20
21
```js
22
-captureOwnerStack();
+const stack = captureOwnerStack();
23
```
24
25
</Intro>
0 commit comments