React Native dev. I fix the open-source libraries React Native apps are built on,
starting from a reproduction, with numbers wherever there's something to measure.
3 merged · 1 fixed after my repro · 4 in review
Portfolio · Merged work · In review · How I work
Before and after, in libraries other teams maintain.
rnmapbox: the maintainer's own numbers, measured during review. uniwind: my measurement on the PR's first version, before the review changes. keyboard-controller: an estimate of past waste; the saving since the fix isn't measured. react-native-screens: my emulator, not yet reviewed.
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), on the PR's first version: 400 → 0 re-parses per render.
react-native-keyboard-controller · #1748 · outdated CI runs cancelled
In the last 300 PR runs, about 40 kept going after a newer push: an estimated 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; one maintainer's comments are addressed, with an Android review to go. |
|
| 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, as a plain toggle, as the maintainer asked. |
| 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 setup, before and after, 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 →
