One of the best answers I've seen in our Slack channelsAt jsComplete, we manage a slack account dedicated to helping code learners get unstuck. We receive some interesting problems every now and then but most of the asked questions are for common problems. I am creating this resource to write detailed instructions for the common problems beginner React.js learners usually face so that I can refer them to here instead of typing it over and over. I will keep this list updated.1 — Not starting a component name with a capital letterA React component must have a name which starts with a capital letter.If the component name does not start with a capital letter, the component use will be treated as a built-in element such as a div or span.For example:class greeting extends React.Component { // ...}If you try to render , React will ignore the above and you will get a warning:Warning: The tag is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

beginner,javascript,react,technology,coding