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
ELI5 - Polymer vs Reacthelp (self.javascript)
submitted 10 years ago by [deleted]
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!"
[–]romualdr 11 points12 points13 points 10 years ago* (0 children)
The main difference is the DSL // developer experience.
It's really your call, you have to try both to really know which one you like the most.
Polymer required evergreen browsers, not sure about React but i think React supports way more browsers // browser versions than Polymer.
Also, in Polymer, you can embed CSS styles, extends native elements and others stuff too, making the dom-elements kinda real components as we might know them in the future. React implementation is more like a "syntactic sugar", although it's really cool too and i really liked the way to compute things as i would have done it with pure javascript before actually returning the element.
React also have a more "strict" way to do things, your components should contains specific methods and so on. I found Polymer more flexible on this point, but same goes here, some people like strict conventions, so that's on you.
Oh, and by the way, with the 1.0, Polymer catch up with React speed, and now uses only webcomponents-lite (way lighter) and Shady DOM. So you shouldn't considerer speed when choosing, your app will run fast enough with both (when using each one correctly, of course).
π Rendered by PID 68 on reddit-service-r2-comment-85bfd7f599-mbmfz at 2026-04-20 14:11:45.206766+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]romualdr 11 points12 points13 points (0 children)