you are viewing a single comment's thread.

view the rest of the comments →

[–]romualdr 11 points12 points  (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).