DEV Community

Alpheus
Alpheus

Posted on

PascalCase issue

Hi DEvteam,

I am writing XML using react: "const XmlElement= props => React.createElement("XmlElement", props);"

In the console browser i got some error :

error read as follows: XmlElement/> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements

I thought I am using Pascal Casing .
Can anyone assist on how to resolve the issue.

Thanks in advance

Top comments (0)