2 ms·
Java Server Pages? Spring MVC? asp.net MVC? razor pages? go templates? None of these are niche and they all have had first class IDE support for, again, literal
by boredtofears 3y ago
Java Server Pages? Spring MVC? asp.net MVC? razor pages? go templates? None of these are niche and they all have had first class IDE support for, again, literally decades.
Concepts like CSS modules may not be as trendy in server side rendering frameworks, but that doesn't mean the concept itself is inherently limited to SPA's.
Things like IDE support have been table stakes for backend developers working in static languages for a very long time. Javascript tooling is just now finally catching up.
- troupo 3y ago> Concepts like CSS modules may not be as trendy in server side rendering frameworks, but that doesn't mean the concept itself is inherently limited to SPA's. They are, however, inherently limited to Javascript. Because CSS Modules are explicitly a Javascript feature.
- boredtofears 3y agoThere's no reason you can't have a build system that does the same thing in a different language. They are not "explicitly" a feature of javascript at all.
- troupo 3y agoThey literally are. CSS modules as a concept and any existing specs are very explicitly Javascript only and target Javascript only. Yes, you could do a similar thing in other languages, and people will, but simply by definition those are not CSS Modules, and might diverge from the actual "standard" (which it isn't yet)
- boredtofears 3y agoCSS Module Scripts are not the same as the third party CSS Modules library that most people are referencing when discussing CSS Modules.