Live data from Hacker News

JSX is no longer my friend

medium.com

141–144 of 144 posts

Re: JSX is no longer my friend

#141
post #87

So I'm the guy who wrote the post in question. As the view counter started to exceed my expectations I thought there would be a fair amount of negative feedback. I was surprised that there wasn't much. Turns out that it's all here on HN! :P First off, I can't believe all of you actually read that. You have both my sympathy and thanks. Even more thanks for commenting on it. I want to address a few of the points brough…

I started reading with skepticism and you hadn't convinced me by the end that you were any more or less "correct" than my own approach. That being said, I never for a second thought you were wrong and needed correcting either. Your tone never implied to me that the you thought anything similar about the reader either. Your responses in the comments on Medium basically confirmed in my mind that you were just talking t…

I have to say, and I'm honestly sorry I haven't gotten around to it till now, that I genuinely appreciate your kind and rational words. ^.^

Re: JSX is no longer my friend

#142

Earlier quoted context omitted.

The "handlebars" are just plain javascript syntax for a block, not template markers. You can try it in your browser console. { console.log(123); }

Not exactly... within JSX the handlebars signify "now I'm going back to plain JS". compare console.log(123) with { console.log(123) } The first outputs a div with the text "console.log(123)" inside. The second logs "123" and outputs an empty div (since console.log returns undefined).

That's the point.
Post reply on HN