News for hackers. Stuff that matters.
Re:React and D3.js by genericstorage3 on Monday March 29, 2021 @10:35PM (#26630756)
I'm the opposite, I despise anything angular, vue, knockout, that makes devs learn a new language.

React just uses js, almost plain.

Re:React and D3.js by brailsafe on Tuesday March 30, 2021 @12:51AM (#26631366)
That's a bit dramatic and inaccurate don't you think? Angular maybe comes closest to your definition of new language, but the rest is pretty much HTML with an @ sprinkled in. We've been using the same paradigm of double curly braces and such for quite a while. React may use more or less js, but I find it more mentally taxing to render or parse what is better expressed as HTML in a template. Outside of that, unless you've already been working with react a lot, the syntax of how data flows together is certainly not any more intuitive than Vue.
Re:React and D3.js by dsego on Tuesday March 30, 2021 @08:12AM (#26633662)
Just JS? What are those angled brackets in JS exactly?
Re:React and D3.js by Tade0 on Tuesday March 30, 2021 @02:42AM (#26631776)
But JSX is a whole new language on top of HTML and JS.

Otherwise you would have to write lengthy, nested createComponent calls.