Updating redux-saga to 0.15.3, webpack to v2 and adding yarn #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
At the time the blog post was created, the
redux-saga
project was running at version0.9.5
. Over the past year the library changed quite a bit, with some breaking changes, so I updated the example code to work with the most recent version of the library (15.0.3
at the moment). The blog post wasn't updated though, if you want to check the exact version of the example that was working on0.9.5
check https://github.com/jportela/redux-saga-persistence/tree/0.9.5The following changes were done:
fork
tospawn
, because we want to keep the process detachedsagaMiddleware.run(sagas);
to the storeLock
system by removingisLocked
since the<Task>.isRunning()
method provides similar functionalitydebounceSave
because