I'm setting up a React project with my team that will use mobX as state manager, plus TypeScript.
I've seen a common pattern in the casing and naming patterns in React Projects:
- Non-React Folders and Files:
camelCaseorkebab-case - React (inside
componentsfolder):PascalCase
Is there a formal convention for folder/file naming in react? If not, is there a style guide on which this pattern is based? Or a reason why this one is used most of the times?
from Is there an official style guide or naming convention for React based projects?
No comments:
Post a Comment