In this chapter, we have gone through the lifecycle of a typical React component, the various phases it undergoes, and how React renders the view based on the diff-ing algorithm (that is, calculating the deltas between the virtual DOM and the actual DOM).
In the second part of the chapter, we explored the future of ECMAScript and how React.js already supports it. For this, we have used sample code examples from Facebook's documentation.
In the next chapter, we will discuss React's reusable components known as mixins. We will also explore how we can add validations in a React-based application. Validations are required for apps that accept user input. User inputs should be validated before being sent to the server, to prevent malicious or invalid content from being sent.