Hacker News new | ask | show | jobs
by mateuszf 3996 days ago
One file per one component sounds like a better representation of one real world concept using code. It translates 1 to 1.
1 comments

Then just put all the files for a component into a single folder, which translates 1 to 1. Again, this is all just a matter of preference, and with pre-compilers you could glob all your js/css/html into one file using any framework if you really wanted to. Seems silly to me, but to each their own.