There are different reasons behind it, but I wonder how to simply add custom attributes to an element in JSX?
Consider you want to pass a custom attribute named myAttr with value myValue, this will work:
myAttr
myValue