TanStackT
TanStack9mo ago
4 replies
skinny-azure

Directory Structure Best Practice

Which one makes more sense? Why?
1. Combined: where you put each features extra directories like components and
services
inside the routes directory.
2. Separated: where you put each features extra directories inside a shared component or feature directory.
image.png
image.png
Was this page helpful?