Starting a project from scratch is always a little bit harder that is why there are some tooling available which we can use to bootstrap a React Native project.
- Using react-native-cli (https://www.npmjs.com/package/react-native-cli)
- react-native-cli created a pure react native application as it doesn’t hide any piece of code in the generated project. You can see ios and android folder in a directory structure. Although, you don’t need to modify anything inside generated ios and android folder, They are required to run React native application successfully on the device.
- Using expo-cli (https://www.npmjs.com/package/expo-cli)
- Expo-Cli is a third party tooling which provides base files and easy setup steps to start React Native app development. It also provides barcode based steps to share the app with other team members. The downside of bootstrapping React native app with expo cli is the size of the basic app is considerably big as expo cli includes few expo based libraries with the app.
Leave a Reply