Semantic Diff

#9293 Remove ReasonReact and JSX v3 leftovers from analysis and genType

3 commits

00e3f4051379ddd6a8f53272e09d326e8f6b3fb6..pr-9293

0397e07b1 · cknitt + Claude · Nov 10, 2026, 20:37 UTC

Drop analysis's special case for ReasonReact.fragment

Jsx_hacks kept ReasonReact's fragment out of the editor's index, a leftover from the ReasonReact JSX transform. ReScript's JSX doesn't produce it, so the module and its two guards go.

6ee9580e0 · cknitt + Claude · Nov 10, 2026, 20:37 UTC

Drop reference heuristics for JSX v3 names

Three heuristics in References.get_loc_item matched makeProps and createDOMElementVariadic, which only the JSX v3 transform generated. The heuristics that match by location alone stay.

0d9f2a4c1 · cknitt + Claude · Nov 10, 2026, 20:37 UTC

Drop genType's mappings for ReasonReact and ReactDOMRe types

genType translated ReactDOMRe.domRef, ReactDOMRe.Ref.currentDomRef and ReasonReact.reactElement, and skipped ReasonReact.res when resolving modules. Current React bindings have none of these modules; the ReactDOM and React mappings stay.