Remix.run Logo
moomoo11 6 days ago

I mean.. say its an enterprise mobile app. Maybe there are 2 shells, each shell has 5 tabs. Each tab might have 5 screens on it.. that's 50 files already just for the screens. Each screen might have various UI components or steppers, etc.

Most noobs, such as those who think 700 files is too many because they've only worked on apps they never published, might just cram everything into that one file.

However, there would be various files for components, functions, etc. Code that's single responsibility and easy to test might mean there are lots of files. There might be upload queues, offline functionality, custom code to go beyond what the ios/android SDKs offer, and so on. DTOs, DAOs, etc. various services..

You probably (won't) get the gist but yeah.