React Native engineer. I fix the open-source libraries React Native apps are built on,
and every fix comes with a reproduction and the numbers to prove it.
3 merged · 1 fixed after my repro · 3 in review · 1 draft
Portfolio · Merged work · In review · How I work
Before and after, measured on the same device and setup, in libraries other teams maintain:
- uniwind 12.8 ms per render, 400 style re-parses
+ 8.6 ms per render, 0 style re-parses
- rnmapbox/maps 60 image requests on first load, 32 to add one image
+ 30 image requests on first load, 1 to add one image
- rnmapbox/maps ~24 s for map icons to come back after panning away
+ icons drawn at once, nothing downloaded again
- keyboard-controller ~295 runner-minutes on outdated CI runs (last 300 PR runs)
+ outdated runs cancelled on every new push
- react-native-screens Android header 96 px too tall over a bottom display cutout
+ header ignores the bottom cutout by defaultThe rnmapbox numbers are the maintainer's own, measured during review.
rnmapbox/maps · #4450 · merged one day after I opened it
On iOS, <Images> downloaded every image again whenever the list changed, and map icons went blank after panning away and back. Now only new or changed images are downloaded, and each one gets a placeholder first, as on Android. Fixes #4436.
| Measured by the maintainer | Before | After |
|---|---|---|
| First load, 30 images | 60 requests | 30 |
| Add one image | 32 requests | 1 |
| Pan far away and back | 31 missing images, ~24 s to refill | 0, instant |
"Thanks, this looks good." · mfazekas, maintainer, approving with the numbers above
uniwind · #764 · 12.8 → 8.6 ms per render
One data-[…] variant made uniwind re-parse a component's styles on every render. I cached the result by the data props each rule actually reads. Review caught a slower first resolve, so I fixed that with benchmarks against main, then rewrote it to the simpler design the maintainer preferred. Measured on the issue's repro app (400 squares re-rendered 30 times): 400 → 0 re-parses.
react-native-keyboard-controller · #1748 · ~295 runner-minutes
In the last 300 PR runs, about 40 kept going after a newer push: about 295 runner-minutes, 145 of them on macOS. Each workflow now has its own concurrency group per pull request, so a new push cancels only the outdated run.
"Thank you for your contribution!" · kirillzyusko, maintainer
react-native-true-sheet · issue #1004 · fixed the same day
The ReanimatedTrueSheet Jest mock dropped the background prop. Instead of a description, I sent a repro repo on the published 4.0.1: one command, two tests, one passing and one failing. The maintainer shipped the fix within hours.
| Pull request | What it does |
|---|---|
A removeInvalidMentionContent prop so an edit inside a mention removes the whole mention, on iOS, Android and web. The team accepted the proposal; I'm working through their first review. |
|
| The Android stack header stops growing by a display cutout at the bottom of the screen (96 px on the test device), as agreed in the issue. | |
Source maps respect output.devtoolModuleFilenameTemplate, so you choose the paths in sources. |
|
| Lets Android apps observe recording interruptions even without audio focus. |
| 01 · Reproduce A repro repo, a failing test or a rotated emulator before any fix. If I can't show the bug, I don't touch the code. |
02 · Measure Same device, same build, alternating runs against main. "Should be faster" is not a result. |
03 · Keep it small Agree on the scope in the issue first. The fix the maintainer wants, not the one I'd enjoy writing. |
04 · Make review easy A clear description, recordings, and the steps to re-run my numbers. Review comments answered with commits. |
Hiring a React Native engineer who reads the library source instead of working around it?
See my apps and work on the portfolio →
