Chapter 5. Mixins and the DOM
In the previous chapter, we took a deep dive into React Forms. We took a look at building multiple components and interactivity between them, Controller and Uncontrolled Components, building Forms and Form elements, and Form events and handlers for the events. We build a form to capture cart-checkout flow and orders being placed in a multi-step form.
In this chapter, we will focus on abstracting content using mixins and touch upon DOM handling.
Here, we will cover the following points:
- PureRender mixin
- React and the DOM
At the end of this chapter, we will be able to abstract and reuse logic across our components and learn how to handle DOM from within the components.
Back at the office
The duo was back at work. ...