How I updated sunday's React Native app without a full rewrite
- Founded
- Atlanta, 2021
- Industry
- Restaurant payments
- Engagement
- 8 months
Your React Native app works. It ships, and your users can do what they came for. But it doesn't feel like the rest of your product, and nobody in the team has the React Native expertise to take it further.
You have two options: hire a senior mobile developer (6 months of searching, €80k minimum) or rewrite the app (4 months of going dark, zero features shipped).
There is a third one: methodically improve what exists. That's what I did for sunday, and here is how.
sunday: an app that worked, but didn't spark joy
sunday is a B2B startup that helps restaurant owners manage their shifts and offers a QR code for customer payment. A premium product with high-end positioning.
Their mobile app? Nothing was on fire. It was in an okay state: it worked, and restaurant owners used it every day. But it didn't spark joy:
- Duplicated components everywhere (3 versions of the same button)
- Dead code nobody dared to touch
- Visual glitches that looked random from one screen to the next
- A UX that didn't feel like a native app
Within the team, nobody was a React Native expert. And the goal was not "an app that works". It was a pristine mobile experience, at the level of the rest of the product.
For a premium product, okay is not enough.
What I did: mobile Storybook + surgery on the data layer
No rewrite. No 3-week scoping phase. I went straight in with a three-step method.
1. Visual inventory with Storybook
I installed Storybook for React Native. Not to make things pretty, but to get an exhaustive inventory of every component.
Immediate result: we discovered 12 button variants for 3 real use cases.
I merged, deleted, and created clean variants. A single Button component with clear props:
<Button variant="primary" size="large" state="loading" />
state is loading, error or success. Loading is a state, not a boolean: one prop, instead of three flags that can contradict each other.
No more ButtonBlue, ButtonBigBlue, ButtonBigBlueWithLoader.
2. Removing dead code
With Storybook, I could isolate each component and see what was actually used.
I removed 30% of the code. Not out of ego, but by measurement: less code = a smaller attack surface for bugs.
3. Fixing the data layer, one screen variant at a time
The glitches that looked random? They were not CSS. They came in with a React Query upgrade: between version 3 and version 4 the status API changed, and isLoading no longer meant what the screens assumed.
That is the trap. A screen is never one screen, it is a set of variants:
- loading
- error
- no data
- one item
- a list of items
I went through the screens variant by variant, and typed the data layer with TypeScript.
In the meantime, I introduced observability with Datadog, to see what happens in production instead of guessing.
Result: every screen shows the right variant for the data it receives.
The moment that changed everything: product ownership
At one point, sunday handed me a complete feature. Not just "build what we give you", but "here's the need, figure it out".
I didn't ask anyone for permission. I contacted the right technical partners directly, made the architecture decisions, and over-delivered.
It's the Richard Branson philosophy:
If you want someone to be an ambassador for your product, give them real ownership.
That day, the app went from "a technical project I manage" to "a product I stand behind".
Result: 2 seconds saved at launch
After 8 weeks of work:
- Load time cut by 2 seconds (from 4.2s to 2.1s at cold start)
- Zero crashes in production over the last 3 releases
- Every component variant in one place: with Storybook, the team inspects all the variants of a component in seconds, without clicking through the app
2 seconds sounds like nothing. On mobile, it's the difference between "smooth" and "I'm uninstalling".
sunday's feedback? "Keep it up." No standing ovation, just the peace of mind of an app that feels as good as it works.
What to remember if you're in the same situation
You don't need a rewrite. You need a method.
Here's what works:
- Install Storybook: you'll see immediately where the mess is
- Merge duplicated components: one component with variants, not 12 versions
- Type the data layer with TypeScript: a tool like Orval generates all your type definitions from your API
- Delete dead code: less code = fewer bugs
- Give ownership to the person doing the work: a mercenary who feels like an owner ships 3 times faster
And above all: stop trying to hire a senior mobile developer if you haven't cleaned up your technical debt yet. They'll leave after 6 months, disgusted by the mess.
Let's talk
Your React Native app works, but doesn't spark joy? You want to know if it can be improved as it is, or if it really needs a rewrite?
Book a call. I'll tell you the truth in 20 minutes, not after 3 months of going dark.
FAQ: React Native technical debt
Between 6 and 12 weeks for a mid-sized app (50-100 screens). The limiting factor isn't technical, it's the team's ability to accept that code gets deleted and that no new features are added during the cleanup. If you keep piling on features while the repair is under way, you'll never get out of the hole.