Skip to content

Commit

Permalink
Remove React.use being 'a => 'b
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Nov 18, 2024
1 parent 50bde6a commit 16090ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/React.re
Original file line number Diff line number Diff line change
Expand Up @@ -889,8 +889,6 @@ module Experimental = {
/* This module is used to bind to APIs for future versions of React. There is no guarantee of backwards compatibility or stability. */
[@mel.module "react"] external usePromise: Js.Promise.t('a) => 'a = "use";
[@mel.module "react"] external useContext: Context.t('a) => 'a = "use";
[@mel.module "react"] external use: 'a => 'b = "use";

[@mel.module "react"]
external useTransitionAsync:
unit => (bool, callbackAsync(callbackAsync(unit, unit), unit)) =
Expand Down

0 comments on commit 16090ac

Please sign in to comment.