O'Reilly logo

Mastering React by Ryan Vice, Adam Horton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Dynamic Components, Mixins, Forms, and More JSX

In this chapter we are going to wrap up our coverage of the basics of React by looking at the following concepts.

  • Dynamic components
  • Mixins
  • Forms
  • Validation

We will see how dynamic components allow us to easily compose our application out of the component ecosystem we create for application by mostly using imperative JavaScript. Next we will look at how we can share functionality via the mixins feature that allows us to hook into our component's lifecycle events and fire custom logic as well as allowing us to extend our components API by extending them with new methods. After that we will look at some idiosyncrasies when working with forms in React and we will follow that up by looking at one ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required