Skip to content

Commit 5636b99

Browse files
davesnxjchavarri
andauthored
Update src/React.re
Co-authored-by: Javier Chávarri <javier.chavarri@gmail.com>
1 parent 9ce19ea commit 5636b99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/React.re

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,7 @@ external useDebugValue: ('value, ~format: 'value => string=?, unit) => unit =
887887

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

0 commit comments

Comments
 (0)