4 ms·
I think TSX/JSX is one of the top reasons to use React. It is so tightly integrated with Typescript and the IDE/VSCode that it allows you to type check your mar
by naranha 4y ago
I think TSX/JSX is one of the top reasons to use React. It is so tightly integrated with Typescript and the IDE/VSCode that it allows you to type check your markup at every step. That was one of the biggest things I missed in Vue (2). But I think these days Vue also supports JSX (?).
Other reasons are that you have a lot of control over what gets re-rendered when using memoization, with the huge but that there a lot of foot guns. As well as it is easy to write terribly performing code in react, while it is really hard to write fast/good code.