Until now, we have dug into React's components' lifecycle, properties, state, and ECMAScript with respect to React 0.1.13 and future versions. In this chapter, we will also see how we can write reusable components/code in React applications. Such reusable components in React are named Mixins. Furthermore, we will explore how the React component's properties can be validated.
The following topics to be covered in this chapter:
Understanding mixins
A higher order component in ECMA6 (as Mixin is not supported in ECMA6)
Different types of validations in a React application
The structure of a React component and application's architecture