Skip to content

Commit 3a01cfc

Browse files
Merge pull request #4 from angular-redux/SethDavenport-patch-1
Typos
2 parents 392e30a + ea0d0e7 commit 3a01cfc

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Decorators for Redux Observable
44

5-
When using redux with Angular with ng-redux and redux-observable, it's common to create your epics as an injectable class, and when configuring the store - creating an epic middleware for each one, or using combineEpics:
5+
When using Redux with Angular with ng-redux and redux-observable, it's common to create your epics as an injectable class, and when configuring the store - creating an epic middleware for each one, or using combineEpics:
66

77
```ts
88
@Injectable()
@@ -21,19 +21,19 @@ export class AppModule {
2121
someEpics.epicTwo
2222
)
2323

24-
ngRedux.confgureStore(reducer,[createEpicMidleware(epics)])
24+
ngRedux.configureStore(reducer,[createEpicMidleware(epics)])
2525

2626
// or
2727

2828
let epicOne = createMiddleware(someEpics.epicOne);
2929
let epicTwo = createMiddleware(someEpics.epicOne);
3030

31-
ngRedux.confgureStore(reducer,[epicOne, epicTwo)])
31+
ngRedux.configureStore(reducer,[epicOne, epicTwo)])
3232
}
3333
}
3434
```
3535

36-
This decorator is intended to make it easier to makr which properties / methids in a class are an Epic to simplify creating the epic middleware for your application.
36+
This decorator is intended to make it easier to mark which properties / methods in a class are Epics to simplify creating the epic middleware for your application.
3737

3838
```ts
3939
import { Epic } from 'redux-observable-decorator'
@@ -72,9 +72,9 @@ const epicMiddleware = createEpics(epics);
7272
const store = createStore(reducer, applyMiddleware(epicMiddleware));
7373
```
7474

75-
# Insparation
75+
# Inspiration
7676

77-
The `@Effects` decorator from [ngrx/effects](https://github.com/ngrx/effects)
77+
The `@Effect` decorator from [ngrx/effects](https://github.com/ngrx/effects)
7878

7979
# Todo
8080

@@ -83,4 +83,5 @@ The `@Effects` decorator from [ngrx/effects](https://github.com/ngrx/effects)
8383
* [ ] Improve tests
8484
* [ ] Get test coverage working
8585
* [ ] Some Anglar 2 / integration tests
86-
* [ ] Example App
86+
* [ ] Example App
87+
* [ ] Strategy for lazy loading epics (to support code-splitting)?

0 commit comments

Comments
 (0)