Skip to content

Instantly share code, notes, and snippets.

@qkreltms
Created April 18, 2021 08:28
Show Gist options
  • Select an option

  • Save qkreltms/b3d64916bda5372e3aa48de092ff3246 to your computer and use it in GitHub Desktop.

Select an option

Save qkreltms/b3d64916bda5372e3aa48de092ff3246 to your computer and use it in GitHub Desktop.
const counterPersistConfig = {
  key: "counter",
  storage: storage
};

const rootReducer = combineReducers({
  counterReducer: persistReducer(counterPersistConfig, counterReducer)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment