3 ms·
The amazing thing about React to me is that millions of dollars keep flowing into improving its DX further. They have spent a lot of time building React Compile
by solarkraft 1y ago
The amazing thing about React to me is that millions of dollars keep flowing into improving its DX further. They have spent a lot of time building React Compiler (https://react.dev/learn/react-compiler/introduction https://react.dev/learn/react-compiler/introduction) which does all the memoization for you! This severely lightens the performance concerns.
- paulhebert 1y agoSure, but Svelte and Vue have had these compilation features built-in for ages without all that money flowing in. The react team resisted these features because they went against their “it’s just a library” philosophy. They’re only copying them now because of how obviously useful they are in the other frameworks. useEffect, useMemo, useCallback etc. add a ton of complexity and make it easy to write buggy code. I used to work at an agency so I’ve done projects with React/Svelte/Vue/Lit/Stencil/Angular/etc. I found the React projects had lots more performance issues, confusing bugs, etc. than Vue or Svelte. I agree with the article. React is popular because it was groundbreaking and now is the default, but it’s far from the best
- j45 1y agoVue and Svelte both feel like down stream evolutions in their own respective ways (and likely overlapping).