Native JSX type safety
Distinguish event targets
The currentTarget type identifies the element with the handler. The target keeps its native event type because a child can originate the event. Use event.currentTarget.value for input handlers, or narrow the target before accessing element-specific properties.
Catch misleading boolean values
Known HTML boolean attributes, including disabled, checked, required and multiple, accept booleans or null rather than strings. This validation also applies to attribute spreads. ARIA/data values, SVG attributes and custom elements retain their existing flexibility.
Type-only correction
Strict TypeScript regressions cover valid controls and unsafe accesses. Unlisted attributes remain open for migration compatibility. No compiler pass, browser runtime, dependency or capability is added. Generator 0.1.173 retains its compatible core ^0.17.12 range; no performance improvement is claimed.