1
+ React bindings reside in the [ react-redux] ( https://github.com/gaearon/react-redux ) repository.
2
+
1
3
### Components
2
4
3
5
#### Dumb Components
@@ -36,7 +38,7 @@ export default class Counter {
36
38
37
39
import React from ' react' ;
38
40
import { bindActionCreators } from ' redux' ;
39
- import { Connector } from ' redux/ react' ;
41
+ import { Connector } from ' react-redux ' ;
40
42
import Counter from ' ../components/Counter' ;
41
43
import * as CounterActions from ' ../actions/CounterActions' ;
42
44
@@ -69,7 +71,7 @@ The `@connect` decorator lets you create smart components less verbosely:
69
71
``` js
70
72
import React from ' react' ;
71
73
import { bindActionCreators } from ' redux' ;
72
- import { connect } from ' redux/ react' ;
74
+ import { connect } from ' react-redux ' ;
73
75
import Counter from ' ../components/Counter' ;
74
76
import * as CounterActions from ' ../actions/CounterActions' ;
75
77
@@ -91,9 +93,9 @@ export default class CounterApp {
91
93
92
94
### React Native
93
95
94
- To use Redux with React Native, just replace imports from ` redux/ react` with ` redux/ react-native` :
96
+ To use Redux with React Native, just replace imports from ` react-redux ` with ` react-redux/ native ` :
95
97
96
98
``` js
97
99
import { bindActionCreators } from ' redux' ;
98
- import { Provider , Connector } from ' redux/ react-native' ;
100
+ import { Provider , Connector } from ' react-redux/ native' ;
99
101
```
0 commit comments