From 9c6e8abae2046b1139f23653e8757ac544d855bf Mon Sep 17 00:00:00 2001 From: Jorge <2664441+m-rinaldi@users.noreply.github.com> Date: Sat, 20 Sep 2025 14:22:17 +0200 Subject: [PATCH] Update refs-and-the-dom.mdx `React.ref(int)` isn't a type, but `React.ref` is. --- pages/docs/react/latest/refs-and-the-dom.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/react/latest/refs-and-the-dom.mdx b/pages/docs/react/latest/refs-and-the-dom.mdx index 955a7a069..bc85a0624 100644 --- a/pages/docs/react/latest/refs-and-the-dom.mdx +++ b/pages/docs/react/latest/refs-and-the-dom.mdx @@ -52,7 +52,7 @@ let make = () => { } ``` -The example above defines a binding `clicks` of type `React.ref(int)`. Note how changing the value `clicks.current` doesn't trigger any re-rendering of the component. +The example above defines a binding `clicks` of type `React.ref`. Note how changing the value `clicks.current` doesn't trigger any re-rendering of the component. ## Accessing Refs