-
Notifications
You must be signed in to change notification settings - Fork 50
Tracking down instigators of SAVE #100
Comments
You're welcome! 😎 It should be pretty easy, as redux-storage simply dispatches a whole new action (or in other words: no special dispatching magic involved!). So the action right before NOTE: If your using redux-storage-decorator-debounce this relation is no longer valid, as it's the main job of Or is this the way you already tried to tackle it with no success? |
Thanks for responding :) I've tried to track it down like you said, but redux-sagas uses actions very liberally (almost every API call results in two actions) so it makes tracking down the source of the save very confusing. What I can say for sure after following a single flow, is that the save action is dispatched even if the filtered state doesn't change. I'm also using redux-logger to log all of the actions, but just to make sure I listened in to the redux-sagas actions and JSON.stringified the state to the console. I'm seeing a bunch of Any suggestions as to how to further break this down and hunt the errant code? |
@guybenron Would it be possible for you to checkout and use PR #102? This adds |
Looks like it's what I need, however something came up and I won't be able to check it out :( |
Love this package! :)
I'm using redux-storage-decorator-filter to restrict the save calls to a specific part of the state. I also just started using redux-sagas, so I put the three
EFFECT_*
actions into the storage blacklist, and they both work together beautifully.However, I'm getting an extra
REDUX_STORAGE_SAVE
action which I have no clue why it's being dispatched, and there is no information I can see to help me figure it out. How do I track down the part of the code that caused the save operation to happen ... ?Thanks !
-Guy
The text was updated successfully, but these errors were encountered: