React naming conventions
1 min readAug 19, 2019
Stick to the convention of the language and the framework — in React, follows the JavaScript conventions so there is no conflict. Also following the AirBnB guideline for React and ECMAScript.
camelCase
for variables and functionPascalCase
for types(classes)UPPERCASE_SNAKE_CASE
for constants