Skip to content

Commit

Permalink
fix refs to reactdom
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed Oct 23, 2023
1 parent 7ca984c commit c3986e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ReactDOM.rei
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions test/ReactDOM__test.re
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c3986e2

Please sign in to comment.