They do, but they have a steeper learning curve and cause more separation between back and front end. Sometimes that's good, sometimes it isn't.
[0] and [1] are relevant sections of a much longer guide that go into more detail about the tradeoffs.
[0] https://www.saaspegasus.com/guides/modern-javascript-for-dja...
[1] https://www.saaspegasus.com/guides/modern-javascript-for-dja...