In this chapter we looked at dynamic components and saw how we could easily create repeated collections of components. We then looked a mixins and saw how we can decorate lifecycle events and share functionality with this extensibility point. Next we looked at forms and saw how when we set value we create a controlled component. We then discussed validation and looked at an example of how we could use the react-validation-mixin to handle both field and form level validations.

We have now covered most of the basic aspects of React and will now dive into some of the more advanced topics and look at some more substantial examples.

Get Mastering React now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.