r/reactnative • • Aug 04 '26

Theme transition with Nitro

322 Upvotes

Hey everyone,

I ran into an issue when trying to add a nice animation for theme changes in React Native. I tried a few different approaches, including Reanimated and Skia, but I kept running into flickering, higher memory usage, and performance issues, especially on Android.

Since I was already using Nitro Modules for some of the packages in my apps, like MMKV and Unistyles, I decided to build a native theme transition package using Nitro.

It ended up solving the issues I was having. It's lightweight, works with different styling libraries, and since the animation runs natively, it continues to work smoothly even when the JS thread is busy or drops frames.

I've uploaded a video showing the example included with the package. If you want to see how it performs under a more demanding setup, check out the GitHub repo. I've included a real-world example using Unistyles with a more complex and dynamic theme setup, as well as more details about the package.

GitHub: https://github.com/saleh2001k/react-native-nitro-theme-transition

NPM: https://www.npmjs.com/package/react-native-nitro-theme-transition

I'd really appreciate any feedback or recommendations. I'm also interested in hearing ideas for other animation types that could be added to the package.


r/reactnative • • Apr 14 '25

What’s your favorite thing about expo? 🤠

Post image
322 Upvotes

For me it’s expo-router, eas, api routes and expo-router!


r/reactnative • • Nov 07 '24

My 13th app with React Native, still loving this framework!

322 Upvotes

I


r/reactnative • • Nov 29 '20

React native animated pagination dots, links in the comment

321 Upvotes

r/reactnative • • Jan 31 '20

Released my first react-native app!

319 Upvotes

r/reactnative • • Mar 12 '24

Launched my first app that I spent 1 year building!

Post image
313 Upvotes

r/reactnative • • Apr 30 '23

I got inspired by Watch_Dogs ctOS and made this :D

313 Upvotes

r/reactnative • • Feb 23 '22

I've created a game for my 2+ yo twins

310 Upvotes

r/reactnative • • Sep 03 '20

FlatList intro animations. Would this be useful to release as package?

309 Upvotes

r/reactnative • • Jan 08 '25

working on a fintech application. give your feedback

304 Upvotes

r/reactnative • • May 05 '23

News VisionCamera V3 - The game-changing library for the entire mobile camera industry. I'm using simple JavaScript code to outline the hands and blur the face in realtime. This even runs at up to 60 FPS!

303 Upvotes

r/reactnative • • May 29 '25

News I’m finishing my UI-Based multiplayer RPG, here’s some gameplay.

301 Upvotes

Stack: Expo, nativewind, zustand, rnr


r/reactnative • • Jan 25 '21

My startup failed, so I open sourced the code. I hope someone finds it useful.

Thumbnail
github.com
301 Upvotes

r/reactnative • • Jun 07 '21

I made a Coinbase clone with react native and I’m excited!! Lol

Post image
300 Upvotes

r/reactnative • • Apr 22 '21

News I made an app where you can swipe right on movies you want to see and see matches with your friends 🔥

297 Upvotes

r/reactnative • • Nov 17 '22

SpaceX is hiring

Post image
296 Upvotes

r/reactnative • • Jun 27 '20

A little peek of a savings goal map im working on

296 Upvotes

r/reactnative • • Aug 11 '24

Launch my first app that I spend 6 months building !

Post image
295 Upvotes

Hello everyone,

I'm super excited to share an app I've developed using React Native. I've been building apps with React Native for several years for clients, but this is my first project as a “solo entrepreneur”.

The app is designed for people who want to grow their community on TikTok. With tiktools.app, you can unlock the full potential of your TikTok experience with advanced videos, audios, hashtags, post hour, duration trends analytics and real time followers tracking. The app has several other super cool features, and tons more to come

It’s a bare React Native project that I started over six months ago, before Facebook recommended Expo as a framework for initializing projects.

Technical stack:

  • React Native

  • Firebase

  • Sentry

  • Mixpanel

  • NestJS for the backend

Since the app is design for TikTok users, I plan to base my entire marketing strategy on this platform.

The app is currently available on iOS ( https://apps.apple.com/fr/app/tiktools-analytiques-trends/id6476430520 ), the Android version still under review.

I’d love to hear your feedback.


r/reactnative • • Apr 05 '20

Building an open-source Spotify clone

294 Upvotes

r/reactnative • • Apr 15 '26 Heartwarming Bravo

Tutorial I just shipped my React Native app with expo, so here are the most 10 things - in my mind - that may be interesting to your next project

292 Upvotes

Hii,

So I recently published one of my React Native apps (finance/budgeting app, Expo-based) it's now on app store and has +1200 downloads, and wanted to share some of the tools and approaches that genuinely helped. Not the obvious stuff everyone already knows, but things I wish someone told me earlier.

1. react-native-keyboard-controller instead of KeyboardAvoidingView

If you've ever fought with the built-in KeyboardAvoidingView, just drop it. This library handles keyboard behavior properly on both platforms. Wrap your app with <KeyboardProvider> and forget about it. It also supports interactive keyboard dismiss (user drags the keyboard down) which feels super native.

2. react-native-draggable-flatlist with ScaleDecorator

Needed users to reorder their accounts and budgets by dragging. This library is basically a FlatList but draggable. The nice touch is wrapping each item in <ScaleDecorator>, it gives that satisfying little scale-up animation when you grab an item. Feels really polished with zero effort.

3. expo-speech-recognition for voice input

I wanted users to add transactions by voice ("spent 50 on coffee"). This package made it dead simple, one line to start, supports multiple languages, gives you interim results in real time. No need to mess with native modules or external APIs for the speech-to-text part.

4. expo-glass-effect for iOS 26 Liquid Glass

If you're on Expo SDK 54, you can use isLiquidGlassAvailable() to check if the device supports liquid glass and conditionally render native tabs vs your classic tab bar with BlurView. Your app looks modern on new devices and still works fine on older ones.

5. babel-plugin-react-compiler

Still in beta but already usable. It auto-memoizes your components and hooks at build time. I was manually writing useMemo and useCallback everywhere, now the compiler handles most of it. Just add it to your babel config and let it do its thing.

6. Receipt scanning with Gemini Vision API

This one was fun. User takes a photo of a receipt, I convert it to base64 and send it to Gemini as inline image data. The trick is asking it to extract individual line items, not just the total. So a grocery receipt becomes 5 separate transactions, each auto-categorized from the user's own category list. The prompt engineering matters a lot here, you have to be very specific about the output format or the AI gets creative.

7. Lottie for micro-interactions, not just onboarding

Everyone uses Lottie for splash screens and onboarding. I used it for tiny mood emojis on transactions, each mood (happy, stressed, neutral...) has a small 18x18 looping Lottie animation. Way more alive than static emoji. The key is keeping the JSON files small and using autoPlay loop.

8. @shopify/react-native-skia for animated mesh gradients

I wanted an animated gradient background (like the ones you see in modern fintech apps). Used Skia's shader support to write a custom GLSL mesh gradient that animates on the UI thread. The trick for performance is undersampling, render the shader at half resolution and scale it up. Users can't tell the difference and you save a ton of GPU work.

9. expo-haptics, but use the right feedback type

Don't just use one haptic style everywhere. There are different ones for a reason:

  • selectionAsync() for toggles and filter chips (light tap)

  • impactAsync(Medium) for button presses

  • impactAsync(Heavy) for destructive actions or long press

  • notificationAsync(Success) for confirmations

Small detail but users notice it subconsciously. Makes the whole app feel more "real".

10. Smooth number animations with Reanimated's useAnimatedReaction

For things like balance totals or chart values, I animate the number counting up/down instead of just snapping to the new value. The trick is using useAnimatedReaction to watch a shared value on the UI thread and push updates back to JS via runOnJS. You get a smooth 60fps counting effect without re-rendering your component on every frame. Works great for any kind of numeric display.

Also there's a thanks i want to say to the developer who created the open source lib https://www.reacticx.com/ i cloned some of its components in my app and it was looks sooo nice. if you guys has similar libraries like it just put it down in the comments.

Hope some of these help.

ai helped me to do some refinements to the ideas in this post.


r/reactnative • • Oct 20 '19

Got my react-native app running on macOS via Apple's Project Catalyst

292 Upvotes

r/reactnative • • Oct 22 '20

News 💫 A fully native, 60 fps, cross platform shared element transition powered by wix/react-native-navigation!

289 Upvotes

r/reactnative • • Oct 08 '20

Microsoft Outlook (!) Is Moving To React Native

Thumbnail
neowin.net
289 Upvotes

r/reactnative • • Apr 27 '20

Flashy 📸, new preset for Animated TabBar

288 Upvotes