The saga and reducer are now complete and ready to be used in the CustomerForm React component. This isn't a trivial exercise, so to warm up to it we'll start by building a helper that will mitigate the difficulty.
Switching out component state for Redux state
Building a helper function to render with store
Unlike with React Router, with Redux we generally prefer to use full rendering over shallow rendering. We prefer that approach for a couple of reasons:
- Unlike React Router, Redux isn't rendering components, so we don't need to assert that specific Redux components are part of the React component instance graph.
- Redux actions perform a variety of user-defined operations when they are dispatched. We&apos...