Skip to content

Commit 9a2a4ba

Browse files
docs(store): fix typo in reducer docs (#4977)
1 parent 7f35200 commit 9a2a4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ngrx.io/content/guide/store/reducers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ Whether your feature states are loaded eagerly or lazily depends on the needs of
271271

272272
If you have a module-based Angular application, you can still use standalone components. NgRx standalone APIs support this workflow as well.
273273

274-
For module-based apps, you have the `StoreModule.forRoot({...})` included in the `imports` array of your `AppModule`, which registers the root store for dependency injection. Standalone components look for a different injection token that can only be provided by the `provideStore({...})` function detailed above. In order to use NgRx in a standalone component, you must first add the `provideStore({...})` function the the `providers` array in your `AppModule` with the same configuration you have inside of your `forRoot({...})`. For module-based apps with standalone components, you will simply have both.
274+
For module-based apps, you have the `StoreModule.forRoot({...})` included in the `imports` array of your `AppModule`, which registers the root store for dependency injection. Standalone components look for a different injection token that can only be provided by the `provideStore({...})` function detailed above. In order to use NgRx in a standalone component, you must first add the `provideStore({...})` function to the `providers` array in your `AppModule` with the same configuration you have inside of your `forRoot({...})`. For module-based apps with standalone components, you will simply have both.
275275

276276
<code-example header="app.module.ts">
277277
import { NgModule } from '@angular/core';

0 commit comments

Comments
 (0)