Re:Node.js adds experimental support for TypeScript
by __alias on Thursday July 25, 2024 @05:14AM
(#41066529)
I mean the obvious answer is language familiarity,
If your projects frontend code is in javascript/typescript ( which it is ), then using node is an easy choice. Shared libraries, shared types, etc etc
[ Parent
| on HN ]
Re:Node.js adds experimental support for TypeScript
by gaptoothclan on Thursday July 25, 2024 @05:28AM
(#41066611)
I was in the paradigm, there was very little code reuse from front to backend, some time performing validation I would like to have that option, but I would not have that as a killer feature that determined the language I use.
Re:Node.js adds experimental support for TypeScript
by fulafel on Thursday July 25, 2024 @05:20AM
(#41066560)
Lots of people do of course use other languages for the frontend. (Or go for thin frontends, ala HTMX )
Re:Node.js adds experimental support for TypeScript
by __alias on Friday August 02, 2024 @05:08AM
(#41137228)
1. that's a lie, and "lots" of people don't use HTMX (unless I've been living under a rock and there is a non-unsubstantial number of people using it :D )
2. HTMX IS javascript, and you can still use the same familiar packages across front end and backend e.g. lodash