Skip to content

Commit 01be0cc

Browse files
committed
Update README.md
1 parent 1f7917a commit 01be0cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,10 @@ e.g:
102102
connect(this.mapState, this.mapDispatch)(this);
103103
//Or
104104
connect(this.mapState, this.mapDispatch)((selectedState, actions) => {/* ... */});
105-
```
106105

106+
```
107+
#### Returns
108+
Returns a *Function* allowing to unsubscribe from further store updates.
107109

108110
#### Remarks
109111
* The `mapStateToTarget` function takes a single argument of the entire Redux store’s state and returns an object to be passed as props. It is often called a selector. Use reselect to efficiently compose selectors and compute derived data.

0 commit comments

Comments
 (0)