Skip to content

Commit db7efa5

Browse files
committed
react 19.1 captureOwnerStack
1 parent c8c3d05 commit db7efa5

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"rescript": "^11.0.0"
3434
},
3535
"peerDependencies": {
36-
"react": ">=19.0.0",
37-
"react-dom": ">=19.0.0"
36+
"react": ">=19.1.0",
37+
"react-dom": ">=19.1.0"
3838
}
39-
}
39+
}

src/React.res

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,3 +451,6 @@ external useOptimistic: (
451451
/** `act` is a test helper to apply pending React updates before making assertions. */
452452
@module("react")
453453
external act: (unit => promise<unit>) => promise<unit> = "act"
454+
455+
@module("react")
456+
external captureOwnerStack: unit => Js.nullable<string> = "captureOwnerStack"

0 commit comments

Comments
 (0)