Pretty sure that React.createElement won't work unless (p)react is being used
-
-
Neither will $() work unless jQuery is being used. You’re making my argument for me.
1 reply 0 retweets 1 like -
We're talking specifically about the output format for templating (React: JSX, jQuery: HTML). Obv all JS boils down to JS. Problem is that JSX creates more severe lock-in, since it's templates only will work with (p)react libs/toolchains
1 reply 0 retweets 0 likes -
You’re kinda moving the goalposts on the conversation there, but I see your point. The benefits outweigh the cost by a factor of 100, IMO.
1 reply 0 retweets 1 like -
Replying to @keithjgrant @ericsimons40 and
JSX allows for React to make performance and code simplicity gains that are simply not feasible with traditional templates
3 replies 0 retweets 2 likes -
Replying to @keithjgrant @ericsimons40 and
Modern frameworks are piggybacking on JSX in one form or another, https://github.com/Polymer/lit-html#nested-templates … So I strongly disagree with
@slightlylate, people get familiarize with one framework and all other frameworks aligns with it, it's easy to jump ship because of familiarity.1 reply 0 retweets 0 likes -
Replying to @infinitelychriz @keithjgrant and
lit-html is *literally* the opposite play. I uses a small abstraction on top of an already standardised syntax that requires neither inventing new JS nor new HTML extensions
1 reply 0 retweets 3 likes -
Replying to @slightlylate @keithjgrant and
it heavily borrows JSX and React coding style, ask any dev who sees that, they'll tell you it looks like React
2 replies 0 retweets 0 likes -
Replying to @infinitelychriz @slightlylate and
Sure, but stylistic resemblance is not the point. lit-html is intentionally designed to output to a *standardized* syntax, which is something JSX lacks
1 reply 0 retweets 1 like -
Replying to @ericsimons40 @slightlylate and
It's the whole point, people are not locked to a toolchain (forever) if there's a resemblance to their previous API, in this case, JSX. You just write a babel-plugin to convert or something.
1 reply 0 retweets 1 like
The premise here is an org's willingness (or ability) to fund a rewrite. This is very often not a given.
-
-
I don't get how that's different than any other framework, though
0 replies 0 retweets 2 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.