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
Originally posted by mathcodes December 23, 2022
One thing we should get on the same page about and add to the GUIDELINES is folder structure. As it sits, in the components directory we have another directory ui with three more, card, footer, and header. Back in the components directory, we have files for each of the following components: Card, Contributor, Footer, and Navbar.
I think we should follow the structure inside the ui folder, but house all those directories in the components folder:
src
components
card
contributor
footer
header
navbar
I also created a db directory as we will be using a ton of data as this grows. I've added leetCode.db with 1-150 problems entered in with tags and links and everything 👍 - Special Thanks to Codex 👀 🙏
I think breaking the folder structure into sub-folders would be a great idea.
As multiple directories in the src folder help us to break code into parts and it's easy to understand.
src
- feature
- components
- pages
- styles
In above the structure the feature folder will also have a component sub-folder
Activity
ShashwatAgrawal20 commentedon Dec 24, 2022
I think breaking the folder structure into sub-folders would be a great idea.
As multiple directories in the
srcfolder help us to break code into parts and it's easy to understand.In above the structure the feature folder will also have a component sub-folder