How to keep large projects organized
Answered
Rhinelander posted this in #help-forum
RhinelanderOP
I try to make my project clean as possible but at 20+ pages and 30+ components i always get lost i just gets harder to navigate as there is so many stuff there. How do agencies/companies keep their large projects easy to navigate and clear so that you don't get lost.
Personally I try to be consistant as possible, use best practices and try to use most logical folder structure but from some point forward it just keeps getting harder and harder to work on that projects. How do companies manage much larger projects with thousands of components and pages?
Personally I try to be consistant as possible, use best practices and try to use most logical folder structure but from some point forward it just keeps getting harder and harder to work on that projects. How do companies manage much larger projects with thousands of components and pages?
Answered by B33fb0n3
I like to follow this guide: https://nextjs.org/docs/app/building-your-application/routing/colocation#project-organization-strategies
TL;DR
Keep the specific files (components, actions, fetcher, crud, ...) at the specific locations where they are needed
TL;DR
Keep the specific files (components, actions, fetcher, crud, ...) at the specific locations where they are needed
2 Replies
@Rhinelander I try to make my project clean as possible but at 20+ pages and 30+ components i always get lost i just gets harder to navigate as there is so many stuff there. How do agencies/companies keep their large projects easy to navigate and clear so that you don't get lost.
Personally I try to be consistant as possible, use best practices and try to use most logical folder structure but from some point forward it just keeps getting harder and harder to work on that projects. How do companies manage much larger projects with thousands of components and pages?
I like to follow this guide: https://nextjs.org/docs/app/building-your-application/routing/colocation#project-organization-strategies
TL;DR
Keep the specific files (components, actions, fetcher, crud, ...) at the specific locations where they are needed
TL;DR
Keep the specific files (components, actions, fetcher, crud, ...) at the specific locations where they are needed
Answer