React.js is an open source JavaScript library created by Facebook in May 2013. It is used for building user interfaces. The best part about React is that it uses a declarative style of programming rather than an imperative style. While the former one specifies the compiler what to do, the latter one also has to specify how to do it. Thus, programming with React results in less code.
In this chapter, we will understand the underlying principles of React, one at a time. We will also see how each principle works in practice. If you have studied the previous chapter, ...