redux-persist#createMigrate JavaScript Examples

The following examples show how to use redux-persist#createMigrate. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: store.js    From Designer-Client with GNU General Public License v3.0 5 votes vote down vote up
persistConfig = {
  key: 'root',
  version: 3,
  storage,
  migrate: createMigrate(migrations, { debug: true })
}
Example #2
Source File: configureStore.js    From UltimateApp with MIT License 5 votes vote down vote up
persistConfig = {
  key: 'root',
  version: 3,
  storage: AsyncStorage,
  whitelist: ['completeTrainings', 'favoriteDrills', 'customPlays', 'customDrills'],
  blacklist: ['drills', 'programs', 'theory'],
  migrate: createMigrate(migrations, { debug: false }),
}
Example #3
Source File: index.js    From duofolio with GNU General Public License v3.0 5 votes vote down vote up
persistConfig = {
	key: 'root',
	storage: AsyncStorage,
	migrate: createMigrate(migrations, { debug: false })
}