Skip to content

Commit

Permalink
Update src/React.re
Browse files Browse the repository at this point in the history
Co-authored-by: Javier Chávarri <[email protected]>
  • Loading branch information
davesnx and jchavarri authored Nov 20, 2024
1 parent 9ce19ea commit 5636b99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/React.re
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,7 @@ external useDebugValue: ('value, ~format: 'value => string=?, unit) => unit =

module Experimental = {
/* This module is used to bind to APIs for future versions of React. There is no guarantee of backwards compatibility or stability. */
/* https://react.dev/reference/react/use */
[@mel.module "react"] external usePromise: Js.Promise.t('a) => 'a = "use";
[@mel.module "react"] external useContext: Context.t('a) => 'a = "use";
/* https://react.dev/reference/react/useTransition */
Expand Down

0 comments on commit 5636b99

Please sign in to comment.