Reference

@reckona/mreact-shared/dom-prop-names

3 public exports.

Function

FunctionisBooleanishStringAttributefunction isBooleanishStringAttribute(name: string): booleanReturns true when a boolean DOM prop must be serialized as a literal string token.FunctionisEventLikePropNamefunction isEventLikePropName(name: string): booleanReturns true for any event-like prop name with an on prefix, including lowercase DOM handlers.FunctionisReactEventHandlerPropNamefunction isReactEventHandlerPropName(name: string): booleanReturns true for React-style event handler props such as onClick.