diff --git a/src/ReactDOM.rei b/src/ReactDOM.rei index 668f2b59a..f59bce6a4 100644 --- a/src/ReactDOM.rei +++ b/src/ReactDOM.rei @@ -510,13 +510,13 @@ module Client: { }; [@deprecated - "This function will be removed in the next release. Use React.DOM.Client.render instead." + "This function will be removed in the next release. Use ReactDOM.Client.render instead." ] [@mel.module "react-dom"] external render: (React.element, Dom.element) => unit = "render"; [@deprecated - "This function will be removed in the next release. Use React.DOM.Client.hydrateRoot instead." + "This function will be removed in the next release. Use ReactDOM.Client.hydrateRoot instead." ] [@mel.module "react-dom"] external hydrate: (React.element, Dom.element) => unit = "hydrate"; diff --git a/test/ReactDOM__test.re b/test/ReactDOM__test.re index be5554d2e..c9e595d63 100644 --- a/test/ReactDOM__test.re +++ b/test/ReactDOM__test.re @@ -12,8 +12,8 @@ module Stream = { external make: unit => writable = "PassThrough"; }; -describe("React.DOM", () => { - describe("React.DOM.Server", () => { +describe("ReactDOM", () => { + describe("ReactDOM.Server", () => { test("renderToString", () => { let string = ReactDOM.Server.renderToString(