Skip to content

React Native Prompts

Copy-and-paste React Native prompts: Expo setup, screens and components, forms, lists, navigation, data fetching, state, push notifications, debugging and releases.

Takes about a minute. You hear back from me personally.

Prefer Saad Raza SEO on Google Add this site as a preferred source and Google will show more of my SEO and AI search guides when you search.

Add saadrazaseo.com as a preferred source on Google

These React Native prompts help you build iOS and Android apps with JavaScript or TypeScript: project setup with Expo, components and styling, navigation, state and data fetching, native features, performance, testing and debugging.

20 prompts on this page. Last updated: 4 December 2026. Written and tested by Saad Raza.

How to use these prompts

  1. Click Copy on any prompt.
  2. Paste it into ChatGPT, Claude, Gemini, Copilot or Perplexity.
  3. Replace everything in [square brackets] with your own details. The more specific you are, the better the answer.
  4. Read and edit the result before you use it. Add your own experience and check every fact, name and number.

Say whether you use Expo or the bare React Native CLI, and your React Native version, so the AI suggests compatible libraries and APIs. Test on real devices for both platforms.

Setup

1. Set up a new project

Explain how to set up a new React Native app with Expo and TypeScript for [app], including folder structure, ESLint, Prettier and environment variables.

2. Choose libraries

Recommend libraries for navigation, state management, data fetching, forms, storage and UI components for [app], with reasons and alternatives.

Components and UI

3. Build a screen

Write a React Native screen in TypeScript for [screen] with [components], styled with [StyleSheet, NativeWind or another approach], and safe area handling.

4. Build a reusable component

Write a reusable [component, e.g. button with variants and loading state] in React Native with TypeScript props and accessibility labels.

5. Build a form

Write a form with [fields] using React Hook Form and validation, with keyboard handling so inputs are not hidden by the keyboard.

6. Build a performant list

Write a FlatList that renders [items] from an API with pagination, pull to refresh, empty and error states, and optimised rendering.

7. Support dark mode

Add light and dark themes to this React Native app using the system setting, with a theme context: [paste code].

8. Set up navigation

Set up React Navigation (or Expo Router) with a tab navigator and stacks for these screens: [list], including authentication flow and deep links.

9. Fetch and cache data

Write data fetching for [API] using TanStack Query with loading, error, retry and caching behaviour.

10. Manage global state

Set up global state for [data, e.g. user session and cart] using [Zustand, Redux Toolkit or Context], with persistence.

11. Store data securely

Show how to store [tokens or user data] securely on device in React Native, and what not to store in plain storage.

Native features

12. Add push notifications

Explain how to add push notifications with [Expo Notifications or Firebase], including permissions, tokens and handling taps.

13. Use the camera or location

Write code to use the [camera, image picker or location] with permission handling for iOS and Android.

14. Add in-app payments

Explain options for taking payments in a React Native app for [digital or physical goods], including app store rules and local payment providers in [country].

Quality

15. Debug an error

I get this error in React Native: [paste error]. Code: [paste]. Explain the cause and the fix, and whether it is iOS or Android specific.

16. Fix slow performance

This screen is slow or janky: [paste code]. Find unnecessary re-renders, heavy work on the JS thread and large images, and fix them.

17. Write tests

Write tests with Jest and React Native Testing Library for this component: [paste].

18. Set up end-to-end tests

Explain how to set up end-to-end tests with [Detox or Maestro] for the login and checkout flows.

19. Prepare a release build

Create a checklist to build and submit a React Native app with EAS or the CLI: app icons, splash, permissions text, versioning, signing and store listings.

20. Migrate a web React app

What parts of this React web app can be reused in React Native, and what must be rewritten? [describe app and code structure]

What are React Native prompts?

React Native prompts help you build iOS and Android apps with JavaScript or TypeScript using AI: Expo setup, screens and components, forms, lists, React Navigation or Expo Router, data fetching, state management, push notifications, native features, debugging, performance and releases.

How to write better React Native prompts

  • Say Expo or bare: setup and libraries differ.
  • Use TypeScript: it catches mistakes in generated code.
  • Test both platforms: iOS and Android behave differently.
  • Profile performance: lists and images are common slow spots.

Best AI tools to use with these prompts

Use ChatGPT, Claude or GitHub Copilot to write code, Expo and EAS for builds and updates, React Native DevTools for debugging, and Jest with React Native Testing Library for tests.

Frequently asked questions

Should I use Expo for React Native?

Expo is a good default for most new apps because it simplifies setup, builds and updates. The bare workflow suits apps that need unusual native code.

Can AI write React Native code?

Yes. Give it your versions and libraries, then test on both iOS and Android devices.

Flutter or React Native?

Both build cross-platform apps. React Native suits teams that know JavaScript and React; Flutter suits teams happy to learn Dart and wanting a consistent UI.

Can ChatGPT write React Native code?

Yes. Give it your React Native and library versions and whether you use Expo, then test the code on both iOS and Android.

Is React Native good for startups?

It lets one team build iOS and Android apps with shared code, which can save time and cost for early products.

More app development prompts

Back to all app development prompts or the full prompt library, including SEO prompts.

An app launch needs search visibility too. Request a free audit and I will show you what to fix first.

Ready to grow? Let’s talk.

Tell me about your business and goals, and I will reply with the quickest wins I can see.

Your details are only used to reply to your request. No spam.

Grow my trafficCall
WhatsApp