react best practices naming conventions components code example
Example: react component name convention
Note: Always start component names with a capital letter.
React treats components starting with lowercase letters as DOM tags.
For example, <div /> represents an HTML div tag, but <Welcome /> represents a component and requires Welcome to be in scope.