Browse Source

update js in example-redux to support the RN 25.1 upgrade

Artal Druk 8 years ago
parent
commit
c67d3f9c6a

+ 1
- 1
example-redux/package.json View File

9
     "_fix_npm2_step2": "cd node_modules; find . -name .babelrc | grep -v packager | xargs rm"
9
     "_fix_npm2_step2": "cd node_modules; find . -name .babelrc | grep -v packager | xargs rm"
10
   },
10
   },
11
   "dependencies": {
11
   "dependencies": {
12
-    "react-native": "^0.25.1",
12
+    "react-native": "0.25.1",
13
     "react": "0.14.5",
13
     "react": "0.14.5",
14
     "fbjs": "^0.6.1",
14
     "fbjs": "^0.6.1",
15
     "react-redux": "^4.0.6",
15
     "react-redux": "^4.0.6",

+ 2
- 2
example-redux/src/components/ExampleComponent.js View File

1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3
   Text
3
   Text
4
 } from 'react-native';
4
 } from 'react-native';
5
 
5
 

+ 2
- 2
example-redux/src/screens/FirstTabScreen.js View File

1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3
   Text,
3
   Text,
4
   View,
4
   View,
5
   ScrollView,
5
   ScrollView,

+ 2
- 2
example-redux/src/screens/LoginScreen.js View File

1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3
   Text,
3
   Text,
4
   View,
4
   View,
5
   ScrollView,
5
   ScrollView,

+ 2
- 2
example-redux/src/screens/PushedScreen.js View File

1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3
   Text,
3
   Text,
4
   View,
4
   View,
5
   ScrollView,
5
   ScrollView,

+ 2
- 2
example-redux/src/screens/SecondTabScreen.js View File

1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3
   Text,
3
   Text,
4
   Image,
4
   Image,
5
   View,
5
   View,