This comment that Preact expects className isn't true, nor has it ever been.
Preact works with both class and className with no functional difference between them. While we prefer that users use class, as that better follows the DOM spec, it's just our preference.
This comment that Preact expects
className
isn't true, nor has it ever been.Preact works with both
class
andclassName
with no functional difference between them. While we prefer that users useclass
, as that better follows the DOM spec, it's just our preference.