r/reactnative • • 23d ago

I’ve optimized my game to run in stable 120Hz

At first, this might not seem like a big achievement, but when I started developing this project two years ago, I had zero experience with React Native

Over time, I’ve added tons of features and systems. With constantly updating data stores, large amounts of data, timers, polling, and loads of assets, performance gradually became a real issue

All those things combined caused quite a few performance problems, especially as the project kept growing

I’ve spent countless hours figuring things out, fixing unnecessary re-renders, and optimizing different parts of the app

And I’ve finally reached a point where I’m genuinely happy with how it performs

So, here it is!

54 Upvotes

13 comments sorted by

4

u/crossy1686 23d ago

So what is the performance impact of this? How does the battery hold up now?

4

u/Technical_Sort_8268 23d ago

that was my first thought too, 120hz with constant polling sounds rough on battery life.

1

u/crossy1686 23d ago

Yeah my initial thoughts were “I bet the battery is on fire”.

1

u/NiteKore080 23d ago

exciting! congrats!

1

u/zlvskyxp 23d ago

Thanks a lot!

1

u/Alex_Apps_x 23d ago

Great job!

1

u/zlvskyxp 23d ago

Thank u 🖤

2

u/SourdoughBaker 23d ago

Interesting. I've played your beta for awhile now. How do you make your sprites for your game? I never knew it was made in React Native.

1

u/RealVibingDev 23d ago

two years from zero RN to a stable 120 is a real glow up, congrats. curious if you drop the frame rate when nothing is moving? thats usually where the battery goes with polling + timers running

1

u/dcaspit 22d ago

How do you create your assets? They look amazing

1

u/kesha-antonov 21d ago

Good job

Is it performant on android?

1

u/LovesWorkin 18d ago

What's the app? I'll test it.