May 2019
Intermediate to advanced
496 pages
10h 38m
English
Our saga file actually needs to contain two things: the saga that we've just scaffolded, and a reducer that we can use to make state changes. In this section, we'll make a start adding our first action, ADD_CUSTOMER_SUBMITTING. We'll complete it later in the chapter:
import { reducer } from '../../src/sagas/customer';
Read now
Unlock full access