Epic Middleware in Redux
Kevin Salter
3435

Cool project :) With the autosave example, what if I want to serialize the entire redux store for each save (it’s a multi step form with a small amount of data so setting up PATCH infrastructure doesn’t seem worth it)? I don’t really want to pass the whole state to a component so that it can pass it to the action creator. Any suggestions for this scenario?

Ideally I want to trigger the autosave after my reducer completes (reducer is doing some processing of form data). I liked the idea of using redux observable for the debouncing benefits but not sure if it’s going to be the right approach for this.