• 1. 5 Practical Examples For Learning The React Framework

You’ve probably heard about the popular JavaScript framework by Facebook – React. It is used by many popular websites, including Facebook itself and Instagram. In this article you will find 5 practical examples that have been built with React, and which will give you a head start with the framework.

What is special about React?

React is built around the concept of components. This is in contrast to frameworks like Angular and Ember, which use two-way data bindings to update the HTML of the page. In my opinion React is easier to learn than Angular and Ember – it is much smaller and plays nicely with jQuery and other frameworks. It is also extremely fast, because it uses a virtual DOM, and syncs only the changed parts with the underlying page (accessing the DOM is still the slowest part of a modern web application, which is why the framework gets a performance boost by optimizing it).

However, the flip side is that it takes a bit more code in React to achieve the same things that can be easily done with a data binding, as you can see from the examples below. For a comparison, see our article about Angular.


• 2. Intro to the React Framework – Tuts+ Code Tutorial

In today’s world of Javascript Application frameworks, design philosophy is the key differentiating factor. If you compare the popular JS frameworks, such as EmberJS, AngularJS, Backbone, Knockout, etc. you are sure to find differences in their abstractions, thinking models, and of course the terminology. This is a direct consequence of the underlying design philosophy. But, in principle, they all do one thing, which is to abstract out the DOM in such a way that you don’t deal directly with HTML Elements.

I personally think that a framework becomes interesting when it provides a set of abstractions that enable a different mode of thinking. In this aspect, react, the new JS framework from the folks at Facebook, will force you to rethink (to some extent) how you decompose the UI and interactions of your application. Having reached version 0.4.1 (as of this writing), React provides a surprisingly simple, yet effective model for building JS apps that mixes a delightful cocktail of a different kind.

In this article, we’ll explore the building blocks of React and embrace a style of thinking that may seem counter-intuitive on the first go. But, as the React docs say: “Give it Five Minutes” and then you will see how this approach will become more natural.

• 3. Introduction to React.js Framework · Frontend Developer | Tech Enthusiast

React is javascript framework created by Facebook and Instagram. I would say React as Javascript library which can be used as V in MVC. Its been designed by thinking perfomance in mind. React is getting more popular these days and big companies such as Facebook, Instagram, Yahoo, even whatsapp’s newly launched whatsapp web uses react components in production. So lets get into it.

Main concepts

  • User Interface
  • Vitual DOM
  • Data Flow and Data Binding

User Interface

It is easier to create components in react.js and it can be used in almost any web application. Lets create a simple component using Javascript syntax extention shortly JSX. If you don’t know what is JSX, its simple which uses XML like syntax to write Javascript and later converts it to actual Javascript using JSX Compiler.

• 4. React.js Libraries

React.js libraries

A collection of awesome React tools, resources, videos and shiny things.

• 5. Tutorial | React


We’ll be building a simple but realistic comments box that you can drop into a blog, a basic version of the realtime comments offered by Disqus, LiveFyre or Facebook comments.

We’ll provide:

  • A view of all of the comments
  • A form to submit a comment
  • Hooks for you to provide a custom backend

It’ll also have a few neat features:

  • Optimistic commenting: comments appear in the list before they’re saved on the server so it feels fast.
  • Live updates: other users’ comments are popped into the comment view in real time.
  • Markdown formatting: users can use Markdown to format their text.

Want to skip all this and just see the source?

[It’s all on GitHub.]( Edit on GitHub