logoalt Hacker News

conradfryesterday at 6:37 AM2 repliesview on HN

As someone that likes Vue and prefers templates that lost me at JSX.

Which is of course entirely a matter of preference.


Replies

MrJohzyesterday at 10:34 AM

Yeah, I've heard a few people say that. Tbh, I think that (plus a few philosophical approaches) is probably the biggest difference between the two frameworks at this point. Both use signals, both use an optimising template compiler, but in one you write the templates as JSX and in the other you write the templates as SFCs.

Can I ask why you prefer SFCs to JSX?

zuck_vs_muskyesterday at 6:45 AM

> As someone that likes Vue and prefers templates that lost me at JSX.

Thank you very much. I once said, "I cannot stand JSX", and two front-end engineers went silent for the rest of the meeting.