JavaScript

JavaScript

Made by DeepSource

Consider Using PascalCase for user-defined JSX components JS-0426

Style
Minor
react

It is recommended to use PascalCase for user-defined React JSX components since it uses the upper vs. lower case convention to distinguish between local component classes and HTML tags.

Bad Practice

<Test_component />

<TEST_COMPONENT />

Recommended

<div />

<TestComponent />

<TestComponent>
  <div />
</TestComponent>

<CSSTransitionGroup />