Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

[ENHANCEMENT] App structure #26

Closed
YuriDevAT opened this issue Oct 6, 2023 · 0 comments
Closed

[ENHANCEMENT] App structure #26

YuriDevAT opened this issue Oct 6, 2023 · 0 comments
Labels
🤖 aspect: dx Concerns developers' experience with the codebase 🔒 staff only Restricted to CC staff members 💬 talk: discussion Open for discussions and feedback

Comments

@YuriDevAT
Copy link
Member

YuriDevAT commented Oct 6, 2023

Let's guarantee a great DX by making some changes

Until now, there is no clean structure of the folders or the files itself. Let's discuss some common ground rules to make it easy for everyone working on the code base (DX Developer Experience).

Components:
Where to store the components. Now, there are tow components folders, one in the base directory and one inside the pages folder. What is the common structure when creating a next.js project?

File naming:
Some files are ending with .js and some with .jsx. This should be consistent throughout the whol application. I would suggest to simply go with .js. As far as I know there is no need to use .jsx anymore. But let's discuss naming conventions, pros and cons,.. .

CSS:
Where to store the css? Should everything be in the styles folder inside the globals.css file? Or should each component have its own file with the componentName.module.css file?

Make some suggestions in the comments.

Tasks

Preview Give feedback
No tasks being tracked yet.
@YuriDevAT YuriDevAT added Hacktoberfest Good issues for Hacktoberfest participants 💬 talk: discussion Open for discussions and feedback labels Oct 6, 2023
@YuriDevAT YuriDevAT added the 🤖 aspect: dx Concerns developers' experience with the codebase label Oct 6, 2023
@YuriDevAT YuriDevAT added 🔒 staff only Restricted to CC staff members and removed Hacktoberfest Good issues for Hacktoberfest participants labels Oct 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🤖 aspect: dx Concerns developers' experience with the codebase 🔒 staff only Restricted to CC staff members 💬 talk: discussion Open for discussions and feedback
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant