Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File structure #32

Closed
tzcnahmt opened this issue Aug 10, 2022 · 0 comments
Closed

File structure #32

tzcnahmt opened this issue Aug 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tzcnahmt
Copy link
Collaborator

Need to organize the files. they are not consistent and need to make sure we are following same guideline throughout the project.

Some rules to follow:

  • Components' names must start with capital but only that are in components folder. (e.g: Navbar.jsx)
  • Route files in pages folder must be in all lowercase. If you use CamelCase approach then route will be affected in same way CORRECT (e.g: pages/dashboard.jsx), NOT CORRECT (pages/Dashboard.jsx).
  • Always try to use one component for pages. Do not split pages into multiple components. In this way, it would be easy to maintain and decrease the complexity of the component.
@tzcnahmt tzcnahmt added the enhancement New feature or request label Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant