- What transformations happen?
- class → className, for → htmlFor, tabindex → tabIndex, self-closing of void elements, conversion of HTML entities, camelCase for event handlers (onclick → onClick).
- Does it handle style attributes?
- Yes — `style="color: red"` becomes `style={{color: 'red'}}` (object syntax). Kebab-case CSS properties become camelCase.
- What about inline SVG?
- Converts SVG attributes too — `stroke-width` → `strokeWidth`, `fill-rule` → `fillRule`. Usable directly in React components.
- Are comments preserved?
- HTML comments become JSX comments ({/* ... */}). Multi-line comments are handled correctly.