Caveat: faster to author and maintain because there's no uncanny valley. Idk how it'd do rendering a billion rows or whatever synthetic benchmarks we do these days.
-
-
Replying to @brianleroux
Coming from 15 years of PHP I found JSX familiar and easy to pick up.
2 replies 0 retweets 11 likes -
Replying to @seldo
Ya! You'd probably like htm. It's got some weird but everything does.
1 reply 0 retweets 1 like -
Replying to @brianleroux
Oh, there is a thing called htm? I thought that was a typo.
1 reply 0 retweets 0 likes -
Replying to @seldo @brianleroux
I guess it is this https://github.com/developit/htm but google kept assuming I meant HTML so I had to work to find it.
1 reply 0 retweets 4 likes -
Replying to @seldo @brianleroux
I like in theory but <${Log} />... so much syntax noise. That screenshot doesn’t exactly show what happens in a deeper tree full of custom components.
2 replies 0 retweets 12 likes -
My contention is that tradeoffs can make this a net-neutral: return <Foo>bar</Foo> // vs: return html`<${Foo}>bar<//>`
4 replies 0 retweets 5 likes -
Replying to @_developit @dan_abramov and
That second syntax is staggeringly ugly. If someone actually prefers this to the first syntax: why?!
1 reply 0 retweets 3 likes -
Replying to @code_punkt @dan_abramov and
The second is written in JavaScript, the first is not. Strangely visceral response btw, this is just code...
5 replies 0 retweets 10 likes -
Replying to @_developit @code_punkt and
We radically changed JavaScript to allow string templates to exist, there's no reason we can't change it again to allow JSX to be JavaScript. We even did it before, when it was called E4X.
3 replies 0 retweets 13 likes
We didn't change the core grammar in incompatible ways. Cover-grammars, yes! But nothing nearly as invasive as what JSX proposes.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.