aohua / redux-state-sync

A lightweight middleware to sync your redux state across browser tabs
MIT License
233 stars 29 forks source link

redux persist "and" sync #114

Open UXDart opened 2 years ago

UXDart commented 2 years ago

hello. I can use redux-state-sync but using combineReducers from redux, to use the one from redux-immutable then I can't use persist. if I set the config with state => state.toJS() I don't have where to set the Immutable.fromJS() if I don't use withReduxStateSync.

how can I use both packages? thanks

UXDart commented 2 years ago

the problem I see is that if I log the state of the store, everything starts ok, in both tabs, but then when one tab changes the state the other tab resolvers are not immutable at some point.. any ideas? TIA