From 003d9cea3a3e9b486e939a6332ab76d6e24684c5 Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Fri, 9 May 2025 15:59:36 +0200 Subject: [PATCH 1/2] Remove unused type Jsx.ref --- runtime/Jsx.res | 2 -- 1 file changed, 2 deletions(-) diff --git a/runtime/Jsx.res b/runtime/Jsx.res index efa45b383c..c0ad1b3643 100644 --- a/runtime/Jsx.res +++ b/runtime/Jsx.res @@ -26,8 +26,6 @@ // unnecessarily add `Primitive_option.some` calls for optional props. type element = private {} -type ref - @val external null: element = "null" external float: float => element = "%identity" From 647d93d0be660feff36ca00e0f6e9a2f208b0211 Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Sat, 10 May 2025 17:23:42 +0200 Subject: [PATCH 2/2] CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1be0e46bd..cfeba735ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ - In type errors, recommend stdlib over Belt functions for converting between float/int/string. https://github.com/rescript-lang/rescript/pull/7453 - Make `Jsx.element` a private empty record to avoid unnecessary `Primitive_option.some`. https://github.com/rescript-lang/rescript/pull/7450 +- Remove unused type `Jsx.ref`. https://github.com/rescript-lang/rescript/pull/7459 # 12.0.0-alpha.12