react js clone code example
Example 1: how to run a cloned react native project
npm install --save github:facebook/react-native#master
Example 2: how to run a cloned react native project
allprojects {
repositories { ... }
configurations.all {
resolutionStrategy {
dependencySubstitution {
substitute module("com.facebook.react:react-native:+") with project(":ReactAndroid")
}
}
}
}