simple-react-native-starter
simple-react-native-starter copied to clipboard
Simple ReactNative starter with an opinionated folder structure for mobile development.
Simple React Native Starter
Simple ReactNative starter with an opinionated folder structure for mobile development.
Getting Started
- Ensure you've followed the React Native - Get Started Guide
- Clone this project
git clone [email protected]:pcofilada/simple-react-native-starter.git - Run
yarn installfrom root directory - Run
yarn iosoryarn androidfrom root directory
Folder Structure
android/- Android native stuffios/- iOS native stuffsrc/- Contains all of our react native codebaseApp.tsx- Base react native componentRouter.ts- App navigationapi/- Api call related functionsassets/- Images, fonts and other static filesconfig/- Config filescontainers/- Smart Componentscontext/- React Contexttypes/- Typescript related files or functionsutils/- Helper functionscomponents/- Dumb Componentscommon/- Shared components