We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc4bee commit 4fe3a07Copy full SHA for 4fe3a07
README.md
@@ -48,8 +48,7 @@ angular.module('app', ['ngRedux'])
48
class TodoLoaderController {
49
50
constructor($ngRedux) {
51
- this.todos = [];
52
- $ngRedux.connect(state => ({todos: state.todos}), ({todos}) => this.todos = todos);
+ $ngRedux.connect(state => ({todos: state.todos}), this);
53
}
54
55
[...]
0 commit comments