Is plural and singular file naming important in React?

Question

Is plural and singular file naming important in React?

Answer

There are no particular conventions on naming but some teams will have their own, also if you are creating your own app you can set your own conventions on how you want to name your files based on their function. The only common convention is to capitalize the component file name to match the class, but it is also not written in stone. So there is no much need to worry about it, but if you join a team it would be a good Idea to ask if they have any naming conventions, although usually they may provide you with the style sheet they follow.

6 Likes