| > One way data binding that is immutable and has explicit functions for each state transition is a major feature. > <Tag a="b" x={y+z}>{valid JS expression}</Tag>
> is
> React.createElement(Tag, { a: "b", x: y + z }, [<valid JS expression>]) If you take the main reasons React is criticized and claim it is a feature, surely you have refute the criticism more thoroughly than "This seems so simple, yet do not underestimate it." or "That is powerful. Do not underestimate this." Modern frameworks (Svelte / Vue / Astro) are about using the platform. They are performant, efficient, easier to read, easier to write, and easier to understand. I don't see any reason I would pick React for a greenfield project anymore. I get that if YOU don't want to use a modern framework and want to stick with what you know, sure, by all means, pick React. But writing even a semi complex application in both React and Svelte should make it immediately obvious that React is antiquated, if you give both frameworks a fair shake. |
Proof? Source?
>I don't see any reason I would pick React for a greenfield project anymore.
I don't see why you wouldn't. It's stable, performs well, works in every browser, easy to find answers for problems you run into, and almost every knows it (or should, it's 2024, you don't have an excuse anymore).
>I get that if YOU don't want to use a modern framework
React is the modern framework. It's nimble, concise. The other frameworks are regressive -- they make mistakes that older frameworks already highlighted as being problematic over time.