You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
folder. (e.g: Navbar.jsx)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).The text was updated successfully, but these errors were encountered: