Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Commit 4b2b9f8

Browse files
committed
breaking!
1 parent 3357075 commit 4b2b9f8

14 files changed

+1565
-98
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
src/**/*.js
33
src/**/*.js.map
44
src/**/*.d.ts
5+
dist/
56

67
# IDEs
78
.idea/

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Master
1+
# 2.0.0 - 1/5/17
2+
- Break: Add module for proper DI of selects
23
- Feature: Implied select name from property name
34

45
# 1.2.0 - 1/3/17

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,14 @@ export class MyComponent {
156156
This can help clean up your store selects. To hook it up, in the `AppModule` you do:
157157

158158
```javascript
159-
import { ngrxSelect } from 'ngrx-actions';
160-
@NgModule({ ... })
159+
import { NgrxActionsModule } from 'ngrx-actions';
160+
161+
@NgModule({
162+
imports: [NgrxActionsModule]
163+
})
161164
export class AppModule {
162-
constructor(store: Store<MyState>) {
163-
ngrxSelect(store);
165+
constructor(ngrxSelect: NgrxSelect, store: Store<MyState>) {
166+
ngrxSelect.connect(store);
164167
}
165168
}
166169
```

0 commit comments

Comments
 (0)