I am trying to develop an app using React Native, Redux and Redux Saga.
I have the following login flow:
- Login Form
- Login Attempt Action
- Login Saga
- API Call
- Login Reducer stores auth token
I have multiple containers and components which each execute actions which in turn have sagas doing API calls. What would be the correct way to pass the token from the store to the API calling method while keeping the code clean and reusable.