A React Native 0.75.4 recipe management app built with TypeScript. This app allows users to create, view, and manage their favorite recipes with image support and an intuitive swipe-to-delete interface.
- Recipe Management: Create, edit, and delete recipes with titles, descriptions, and multiple images
- Image Support: Add images from camera, gallery, or generated placeholders with caching optimization
- Gesture Controls: Swipe-to-delete functionality with haptic feedback
- Theme Support: Automatic light and dark mode support that follows device system settings
- Data Persistence: Local storage with AsyncStorage and in-memory caching
- Performance Optimized: FastImage integration and React.memo optimizations throughout
- Navigation: React Navigation v6 with native stack navigator
- State Management: Local AsyncStorage with mutex-based concurrency control
- Image Handling: FastImage with custom caching layer and Picsum placeholder generation
- UI Components: Gesture-based interactions with Reanimated v3
- Form Management: Custom hook-based form validation with change detection
Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.
Install node modules and pods
yarn && npx pod-installFirst, you will need to start Metro, the JavaScript bundler that ships with React Native.
To start Metro, run the following command from the root of your React Native project:
yarn startLet Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:
# OR using Yarn
yarn android# OR using Yarn
yarn iosIf everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.
This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.
Now that you have successfully run the app, let's modify it.
-
Open
App.tsxin your text editor of choice and edit some lines. -
For Android: Press the R key twice or select "Reload" from the Developer Menu (Ctrl + M (on Window and Linux) or Cmd ⌘ + M (on macOS)) to see your changes!
For iOS: Hit Cmd ⌘ + R in your iOS Simulator to reload the app and see your changes!
