##React Custom HTML Attributes must be data-xyz and all lowercase
React Document:
Custom HTML Attributes
If you pass properties to native HTML elements that do not exist in the HTML specification, React will not render them. If you want to use a custom attribute, you should prefix it with data-.
Beside this the attribute name must all lowercase
<div data-uniqueName={myVar}>Hello World</div>
is invalid.
<div data-uniquename={myVar}>Hello World</div>
is valid