There are different reasons behind it, but I wonder how to simply add custom attributes to an element in JSX?
if you are using es6 this should work: