You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+51-1Lines changed: 51 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ For Angular 2 see [ng2-redux](https://github.com/wbuchwalter/ng2-redux).
17
17
-[Installation](#installation)
18
18
-[Quick Start](#quick-start)
19
19
-[API](#api)
20
+
-[Using DevTools](#using-devtools)
20
21
21
22
## Installation
22
23
```js
@@ -84,9 +85,58 @@ Connects an Angular component to Redux.
84
85
If `$scope` is passed to `connect` as `target`, ngRedux will listen to the `$destroy` event and unsubscribe the change listener when it is triggered, you don't need to keep track of your subscribtions in this case.
85
86
If anything else than `$scope` is passed as target, the responsability to unsubscribe correctly is deferred to the user.
86
87
87
-
## Store API
88
+
###Store API
88
89
All of redux's store methods (i.e. `dispatch`, `subscribe` and `getState`) are exposed by $ngRedux and can be accessed directly. For example:
In order to use Redux DevTools with your angular app, you need to install [react](https://www.npmjs.com/package/react), [react-redux](https://www.npmjs.com/package/react-redux) and [redux-devtools](https://www.npmjs.com/package/redux-devtools) as development dependencies.
0 commit comments