Tour-de-Force / btc-app

The Bicycle Touring Companion App
1 stars 2 forks source link

Implement redux-persist-migrate #147

Open samfalconer opened 7 years ago

samfalconer commented 7 years ago

We need to be able to migrate the saved redux data when the app is updated with any changes in the redux store.

samfalconer commented 7 years ago

I've looked at the documentation for redux-persist-migrate.

It doesn't appear we need to have this in place before needing it. We should just be able to add it in when we need to migrate something.

Demoting to medium.

jsieber commented 7 years ago

Will this issue cause data loss during the upgrade of the app. What are the consequences of this issue?

samfalconer commented 7 years ago

This shouldn't cause any data loss, it just won't be aware of changes in any reducer fields when upgrading versions.

This only needs to be implemented when changing a reducer field with a real user base.