nitter
Johnson Chu
@johnsoncodehk
22 Aug 2025
This shows some subtle differences in DX between JSX and Vue SFC.
Aug 22, 2025 · 6:41 AM UTC
6
2
82
7,379
Sort replies:
Relevant
Recent
Liked
Brenley Dueck
@brenelz
22 Aug 2025
Replying to
@johnsoncodehk
with typescript the jsx one would complain too
1
3
757
Johnson Chu
@johnsoncodehk
22 Aug 2025
Both can complain, I just disabled both to avoid screen clutter.
701
Yeu-Kang Hua
@yeukang
22 Aug 2025
Replying to
@johnsoncodehk
Can you explain a bit what’s happening? What does msg! mean?
1
2
812
Johnson Chu
@johnsoncodehk
22 Aug 2025
msg is a required prop but is missing.
1
5
757
more replies
Filip
@sko_phi
22 Aug 2025
Replying to
@johnsoncodehk
With TSX first one will complain about msg and also give error that the second component don't even exist
1
513
Sreesanth
@Sreesanth46
22 Aug 2025
Replying to
@johnsoncodehk
You could use the h() in vue right:
181
Danny França
@dannyvcfranca
23 Aug 2025
Replying to
@johnsoncodehk
What is the point of comparing two experiences with TS disabled?
89
RoboKozo
@RoboKozo
22 Aug 2025
Replying to
@johnsoncodehk
That's neat! Do you often create components within .vue files in this way?
348