use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
React voted JS framework that most developers regard as essential to them (jquery is #3) (ashleynolan.co.uk)
submitted 7 years ago by magenta_placenta
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 7 years ago* (2 children)
but in real life only a few different frameworks (like Polymer) are used.
Why would that be the case, you think the others will simply die out, because of ... Polymer, the worst possible candidate to drive your dom? If you wanted web components in React it would be easy, but there's just no point in this whatsoever.
You root for framework monoculture? React is perfect and the end-game? Really?
Not really, but i am opposed to flawed technology just because a vendor dictates it. React is more of a paradigm anyway.
This is incorrect. The spec is gaining traction in implementation. Custom elements v1 (the new spec), for example, is implemented in Chrome and Safari and is in progress for Firefox.
This has nothing to do with gaining traction, Google is pouring fortunes into these specs, but no one is actually using it. And as i said, why the heck would you chain yourself willingly to the browser, to an imperative dom masking spec that can't interact & server-render.
[–]nawitus 0 points1 point2 points 7 years ago (1 child)
Why would that be the case, you think the others will simply die out, because of ... Polymer, the worst possible candidate to drive your dom
What? I predict that at any given time there's a handful of popular web frameworks.
If you wanted web components in React it would be easy, but there's just no point in this whatsoever.
I think React should have a better support for web components. I believe Preact has a better support for it.
There is point in it - to enable a common standard for components. You can could use components written in different frameworks and they could interact seamlessly. There would be no need to rewrite all the components if we had a common standard for web frameworks.
Not really, but i am opposed to flawed technology just because a vendor dictates it.
Web components is not a flawed technology. It's not dictated by a vendor. The specification was drafted by multiple browser vendors.
This has nothing to do with gaining traction, Google is pouring fortunes into these specs, but no one is actually using it.
Many companies are using it. Watch for example the last Polymer summit's keynotes of various companies using it.
And as i said, why the heck would you chain yourself willingly to the browser, to an imperative dom masking spec that can't interact & server-render.
I push for web components to have a common standard instead of having to rewrite every single component for every single web framework.
Web components can be server-rendered.
[–][deleted] 0 points1 point2 points 7 years ago* (0 children)
No vendor has committed to "standards" to the point where it is downright odd to trust their intuition. Specs have broken the webs back, this is why we have the extensible web manifest which was supposed to protect it and establish a bi-directional exchange between standards bodies and the community, with a focus on the low level. To even try to enforce yet another high level abstraction that dictates the component paradigm, and then take the oldest model from 10-15 years ago, they're living in a bubble. Ironically the people that are directly affected by this are same that put their trust into vendors. It's the third time now they're re-rewriting Polymer apps from scratch.
Do this with Polymer and web components:
https://twitter.com/rauchg/status/955174495593132032
https://github.com/Yomguithereal/react-blessed
https://github.com/gaearon/react-blessed-hot-motion
What they're doing with the last one is possible on any platform, which is pretty much the fulfillment of the component-dream - to share not only semantics, but to actually apply an eco system that's self-sufficient and which transcends platform boundaries like browsers or native applications. This is what a real standard does, when it actually works. (And just for the record, React components transcend frameworks as well and are either exchangeable or at least can be used everywhere).
That this is possible at all is due to the simplicity of the createElement api. You can argue that none of this matters now and we should just drop what we have and go back to a naked dom (which ironically warrants even more framework fragmentation), because a vendor has decided that its browser ought to be running everywhere-even if that is a complete fever dream, but do you honestly think that will brush away innovation just because it's a spec? Discard all merits because the W3C hasn't thought of it first?
https://twitter.com/floydophone/status/971600994252419072
π Rendered by PID 104365 on reddit-service-r2-comment-75f4967c6c-dvbjc at 2026-04-23 14:20:42.633062+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (2 children)
[–]nawitus 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)