Recently, I have started learning ReactJS. The only thing that confuses me is naming folders and files in the React app directory.
To name component files, some people follow TitleCase.js
and some follow camelCase.js
.
To name app directories, few people follow camelCase
and few
smallcase
or small-case
.
I tried to find the official documentation on naming conventions but couldn't. Can someone help me find the right way of naming files in ReactJS?