Closed
Description
Version
v3 is SLOW for Android right now (because React Native ExperimentalNavigation is slow), see #355, no need to create new issue!
Tell us which versions you are using (react native 0.22 is required for v3!):
- react-native-router-flux v3.22.23
- react-native v0.25.1
Expected behavior
Source code on github for version 3.22.23 has
import React from 'react';
inside of Scene.js
(there are other files but this has been my litmus test) but when I do npm install --save react-native-router-flux
it pulls down version 3.22.23 but in Scene.js
it has:
import React from 'react-native';
Other files throw the the warning ReactNative.createElement is deprecated. Use React.createElement from the "react" package instead.
package.json:
{
"name": "testProject",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"flow": "flow; test $? -eq 0 -o $? -eq 2"
},
"dependencies": {
"key-mirror": "^1.0.1",
"lodash": "^4.12.0",
"react": "^0.14.8",
"react-native": "^0.25.1",
"react-native-keyboard-spacer": "^0.2.0",
"react-native-router-flux": "^3.22.23",
"react-redux": "^4.4.5",
"redux": "^3.5.2",
"redux-thunk": "^2.1.0"
},
"devDependencies": {
"flow-bin": "^0.24.2"
}
}
Steps to reproduce
- cleared my cache with
npm cache clear react-native-router-flux
- Verified there was no
react-native-router-flux
inside my ~/.npm directory - Started a new react native project
react-native init testProject
- Added react-native-router-flux to the project
npm install --save react-native-router-flux
- Start App up and observe issue.
Metadata
Metadata
Assignees
Labels
No labels