Skip to content

Commit cf23bf7

Browse files
committed
link to react doc
1 parent b386ca8 commit cf23bf7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/React.res

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,10 @@ external useOptimistic: (
452452
@module("react")
453453
external act: (unit => promise<unit>) => promise<unit> = "act"
454454

455-
/** captureOwnerStack reads the current Owner Stack in development and returns it as a string if available. */
455+
/**
456+
captureOwnerStack reads the current Owner Stack in development and returns it as a string if available.
457+
[Read more on the React Documentation](https://react.dev/reference/react/captureOwnerStack)
458+
*/
456459
@module("react")
457460
@return(null_to_opt)
458461
external captureOwnerStack: unit => option<string> = "captureOwnerStack"

0 commit comments

Comments
 (0)