Skip to content
View JaydeepAgravat's full-sized avatar
👾
👾

Block or report JaydeepAgravat

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
JaydeepAgravat/README.md

Jaydeep Agravat

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


The ledger

Before and after, in libraries other teams maintain.

Before and after my fixes. uniwind: time per render 12.8 ms to 8.6 ms (−33%), style re-parses per render 400 to 0. rnmapbox/maps: image requests on first load 60 to 30 (−50%), requests to add one image 32 to 1 (−97%), icons after panning away about 24 s to instant. keyboard-controller: outdated CI runs, an estimated 295 minutes in 300 PR runs, are now cancelled on a new push; the saving has not been measured. react-native-screens (in review): extra header height over a bottom cutout 96 px to 0 px on my emulator.

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.


Merged

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.


In review

Pull request What it does
 react-native-enriched-html #858 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.
 react-native-screens #5306 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.
 Re.Pack #1532 Source maps respect output.devtoolModuleFilenameTemplate, so you choose the paths in sources.
 react-native-audio-api #1488 Lets Android apps observe recording interruptions even without audio focus, as a plain toggle, as the maintainer asked.

How I work

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 →

Pinned Loading

  1. smart-code smart-code Public

    Scraping LeetCode data, analyzing for insights, crafting a user-friendly dashboard, and building a problem recommender for optimized problem-solving.

    Jupyter Notebook 8 1

  2. check-point check-point Public

    Mobile app for real-time location tracking and geofence-based attendance check-in.

    TypeScript 1

  3. app-teardown app-teardown Public

    The App Teardown Handbook: mobile system design, learned by reverse engineering real apps.

    MDX

  4. invoice-maker invoice-maker Public

    Get paid for the work, not for the app. An offline invoice maker for Android: no account, no subscription, pay once.

    TypeScript

  5. sheet-music-reader sheet-music-reader Public

    Offline PDF sheet-music reader for Android tablets. Instant pedal page turns, half-page turns, stylus annotations, setlists and one-file backups. No account, no tracking, no subscription. React Nat…

    TypeScript 1

  6. zaster zaster Public

    Phone-to-phone payments over SEPA Instant: React Native wallet and till apps, Next.js web, and a Fastify + Postgres ledger that never charges twice.

    TypeScript