From c9f1b7b1b6f4e1f2e143589ffbf7c8d1e08db71b Mon Sep 17 00:00:00 2001 From: Javier Chavarri Date: Tue, 24 Oct 2023 06:54:39 +0000 Subject: [PATCH] update render deprecation alert --- src/ReactDOM.rei | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReactDOM.rei b/src/ReactDOM.rei index f59bce6a4..17bb0ab96 100644 --- a/src/ReactDOM.rei +++ b/src/ReactDOM.rei @@ -510,7 +510,7 @@ module Client: { }; [@deprecated - "This function will be removed in the next release. Use ReactDOM.Client.render instead." + "This function will be removed in the next release. Use ReactDOM.Client.createRoot and ReactDOM.Client.render instead." ] [@mel.module "react-dom"] external render: (React.element, Dom.element) => unit = "render";