4 ms·
It's more just the fact that a single page gets unnecessarily split across multiple files (where there's no reuse with other pages). It makes refactoring diffic
by nprateem 3y ago
It's more just the fact that a single page gets unnecessarily split across multiple files (where there's no reuse with other pages). It makes refactoring difficult and slows development IME.
- mejutoco 3y agoHaving some sort of typing of tgese fragments would help finding all their uses and refactoring.
- halfcat 3y agoHow is this different from React? Every page in the app is made up of components from numerous other files. Do you think we have a bunch of HTML files spread out everywhere, and that we aren’t generating all of those endpoints automatically? We don’t even write 95% of the endpoints with HTMX. They’re generated from the ORM class. It was amusing when I heard about RSC, since we’d basically been doing that for years at that point, except in whatever language the backend team is already well versed in.