infinitered / ignite-redux-persist

An Ignite CLI plugin for Redux Persist
9 stars 2 forks source link

Redux persist "inactive" by default #6

Closed dgptamayo closed 6 years ago

dgptamayo commented 6 years ago

Is this the desired behavior?

ignite new ignitePersist  130.00s user 38.49s system 39% cpu 7:11.72 total
$ cat ignitePersist/App/Config/ReduxPersist.js | grep active
  active: false,

Unless set to true, autoRehydrate() and RehydrationServices.updateReducers won't run

ryanlntn commented 6 years ago

@dgptamayo Good question. When I pulled this from the ignite-ir-boilerplate it was defaulting to false but now that it is a plugin it would make more sense to default to true.