All code examples below are labeled for reference. They are purely intended to provide examples of concepts. Most of them can be written in a much better way.
Polymer vs. React—which should you use? It’s a question that inevitably crops up whenever anyone discusses the components-based future of the web. While both Polymer and React are libraries created to support a component-oriented approach to front-end web development, they do so in very different ways. In this article, we’ll try to illustrate the role each of these technologies plays in front-end web development so that you can decide which is best suited for your needs.
Fast: blazing fast virtual DOM.
Tiny: 8.0kb only after min+gzip.
Universal: cross Browser、Weex and Node.js.
You probably can’t really learn React.js in a single weekend. But let’s pretend that’s what you’re going to try to do anyways! These are the resources I recommend and the other I recommend you view them in!
One of the many great parts of React is how it makes you think about apps as you build them. In this post, I’ll walk you through the thought process of building a searchable product data table using React.