-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store: Use minimal option by default for ng add #2250
Labels
Accepting PRs
Breaking Change
community watch
Someone from the community is working this issue/PR
Project: Store
Comments
Hey @brandonroberts, I would like to pick this one up. Next to changing the property do you expect anything else? |
The docs on the installation page may need updating also |
brandonroberts
added
the
community watch
Someone from the community is working this issue/PR
label
Nov 13, 2019
Jefiozie
added a commit
to Jefiozie/platform
that referenced
this issue
Nov 13, 2019
Jefiozie
added a commit
to Jefiozie/platform
that referenced
this issue
Nov 13, 2019
Jefiozie
added a commit
to Jefiozie/platform
that referenced
this issue
Nov 13, 2019
Jefiozie
added a commit
to Jefiozie/platform
that referenced
this issue
Nov 18, 2019
Closes ngrx#2250 BREAKING CHANGES: With this change by default the minimal setup for `ngrx/store` will be generated. BEFORE: ``` @NgModule({ declarations: [ AppComponent, ], imports: [ BrowserModule, StoreModule.forRoot(reducers, { metaReducers, runtimeChecks: { strictStateImmutability: true, strictActionImmutability: true } }), ..... ], providers: [], bootstrap: [AppComponent] }) ``` AFTER: ``` @NgModule({ declarations: [ AppComponent, ], imports: [ BrowserModule, StoreModule.forRoot({}) .... ], providers: [], bootstrap: [AppComponent] }) ```
brandonroberts
pushed a commit
that referenced
this issue
Jan 7, 2020
Closes #2250 BREAKING CHANGES: With this change by default the minimal setup for `@ngrx/store` will be generated. BEFORE: ``` @NgModule({ declarations: [ AppComponent, ], imports: [ BrowserModule, StoreModule.forRoot(reducers, { metaReducers, runtimeChecks: { strictStateImmutability: true, strictActionImmutability: true } }), ..... ], providers: [], bootstrap: [AppComponent] }) ``` AFTER: ``` @NgModule({ declarations: [ AppComponent, ], imports: [ BrowserModule, StoreModule.forRoot({}) .... ], providers: [], bootstrap: [AppComponent] }) ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Accepting PRs
Breaking Change
community watch
Someone from the community is working this issue/PR
Project: Store
Change minimal to be
true
by default, so only theStoreModule.forRoot({})
is added to the AppModule.The option is here: https://github.com/ngrx/platform/blob/master/modules/store/schematics/ng-add/schema.json#L41
The text was updated successfully, but these errors were encountered: