1, React Component must start with a capital
In the JSX, the label name is considered to be lowercase HTML tags. However, the lowercase name tag with a small dot (property accessor) is not.
View HTML tags and React assembly .
<component />
Compiled forReact.createElement('component')
(html tag)<Component />
CompileReact.createElement(Component)
<obj.component />
CompileReact.createElement(obj.component)