Redux Saga Guided Demo
In this guided demo, we create a minimal application which will fetch the name of a new Star Wars character at the click of a button.
All important files have detailed comments, and I recommend that you read them in the following order:
- ReduxTextField: React component with Redux state bindings
- ReduxButton: React component with Redux dispatch bindings
- Redux Actions: Three action creators for our asynchronous effect
- Redux Reducer
- Store Index: Bringing everything together, including the
redux-saga
middleware - Sagas: Where the magic happens!