Ask HN: Polymer vs. React I've been doing react for a bit and I really like it, but my friend has been doing polymer and really loving it. From what I can tell they seem the same. What the difference between them? |
Ask HN: Polymer vs. React I've been doing react for a bit and I really like it, but my friend has been doing polymer and really loving it. From what I can tell they seem the same. What the difference between them? |
1. They are not at all the same. Polymer is definitely a framework, while React isn't. They do a few things the same, but even their data-binding features are different.
2. React is way more popular, which matters a lot. It means tutorials, sample code, and Q&A is far easier to find.
3. Polymer is based on Web Components and relies heavily on polyfills. You may or may not care about this (I don't think it matters that much).
4. React is backed and used by Facebook, which means it's less likely to be abandoned or buggy.
See also: http://programmers.stackexchange.com/questions/225400/pros-a...
I'd say React is the best response TODAY if you want a component approach.
And if you want to see what future could look like, give a try to Polymer Dart =)