Migrating ngrx/store v17 from StoreModule.forRoot to provideStore with persisted state
Goal Migrate an Angular application from ngrx/store v17's StoreModule.forRoot() registration to the functional provideStore() provider while keeping previously persisted localStorage or sessionStorage state usable. Constraints ngrx/store v17 does not run a built-in state migration when a reducer schema changes, so persisted JSON can conflict with the new red