Module: JsxRosetta::Routes
- Defined in:
- lib/jsx_rosetta/routes.rb
Overview
React Router → IR::RouteTree extraction. Recognizes the JSX-based declarative form (<Routes><Route path=“…” element=/> /></Routes>) and the bare ‘<Route path=“…” element=/> />` form anywhere in the AST. The data-router form (createBrowserRouter([{ path, element }])) is a future addition.
Defined Under Namespace
Classes: Lowering