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)

Become a Moderator Do you want us to help make DEV a better place?

Fill out this survey and help us by becoming a tag moderator here at DEV.