Happy 4/1 😁
The DOM properties `className` and `htmlFor` were named as such to prevent conflicts with the reserved language keywords.
React decided to align itself with the DOM APIs. It could have called them `class` and safely map them to the DOM properties under the hood, especially given JSX would not have been served directly to old JS engines where the keyword could be a conflict (like IE8).
Now the shipped has sailed. Even if supported was added for `class`, the entire ecosystem has been built on top of the assumption of `className`
The good news: AI is writing a lot of our code and it doesn’t mind typing the extra 4 characters 😁