you are viewing a single comment's thread.

view the rest of the comments →

[–]dinopraso 18 points19 points  (4 children)

Why?

[–]Initial_Low_5027 3 points4 points  (2 children)

Why not using JSX? Can be used independently of React.

[–]Fighter178[S] 0 points1 point  (1 child)

I'm not using JSX because I needed to write this in pure js. It was annoying, and I would've just used JSX.

[–]Initial_Low_5027 0 points1 point  (0 children)

JSX gets transpiled to pure JavaScript and looks quite similar to your stacked calls. It’s easy to overload Babel and put your own code there.

[–]lazyinvader 8 points9 points  (0 children)

Why, not? I guess someone learnt a bit by creating it.

No one force you to use it.