r/reactnative • • 18h ago

A 5-step routine for debugging any React Native / Expo red screen

0 Upvotes

Most RN errors aren't hard once you know which layer broke. This is the routine that saves me the most time:

1. Read the first error, not the last line. Red screens and build logs usually end with something generic. Scroll up to the first real error and the top stack frames that point into your own files.

2. Name the layer. Metro couldn't bundle (Unable to resolve module), JS crashed at runtime (Text strings must be rendered within a <Text>), a native module is missing (works in a dev build, crashes in Expo Go), or Xcode/Gradle failed to compile. Each has different fixes.

3. Check how you run the app. Expo Go only has the native code bundled into it. If a library ships its own native code, you need a development build, and if you added it after building, you need to rebuild.

4. Clear caches before anything deeper. npx expo start --clear fixes a surprising number of resolution errors after moving files or changing Babel config.

5. Align versions. npx expo-doctor and npx expo install --fix. SDK/library mismatches are behind a lot of both runtime crashes and EAS build failures.

Two sneaky ones worth knowing:

  • {count && <Badge />} renders 0 as raw text when count is 0, which gives you the "Text strings must be rendered within <Text>" error. Use {count > 0 && ...}.
  • localhost on a phone is the phone. Use your machine's LAN IP for a local API.

What's the error that cost you the most time?


r/reactnative • • 15h ago

Splitting the bill, but you just drag the receipt onto your friends.

Enable HLS to view with audio, or disable this notification

37 Upvotes

It prints; you drag; the totals roll. Settle tears it off.

Expo · Reanimated · Gesture Handler


r/reactnative • • 19h ago

Help Intern / Jr Developer wanted

Thumbnail
0 Upvotes

r/reactnative • • 23h ago

Smooth Interactions

Enable HLS to view with audio, or disable this notification

34 Upvotes

I built some minimal interaction and animation using Skia and reanimated.

🔗 GitHub: https://github.com/rit3zh/interactions


r/reactnative • • 8h ago

Is AI Coding making us less skilled devs?

Thumbnail
youtu.be
3 Upvotes

r/reactnative • • 21h ago

Question Developers building mobile apps with Expo: what takes you the longest to set up?

0 Upvotes

I'm researching an Expo starter kit for developers who want to build subscription-based mobile apps.

I'm particularly interested in the setup around authentication, Firebase, RevenueCat and store builds. Before building the kit, I want to understand where people actually get stuck.

If you've built an Expo app recently:

- What part of the initial setup took longer than expected?

- Did you start from scratch or use a starter kit?

- What would make a starter kit worth paying for?

I'm at the research stage and would appreciate honest answers, including if you think a paid starter isn't useful.


r/reactnative • • 22h ago

ScreenBill v2 is out. Most of it came straight from your comments on the launch post

Thumbnail gallery
2 Upvotes