Sign in

Hirbod

@hirbod.dev
5K followers 104 following 429 posts

SWE @expo.dev 𝝠 ⚡️ hirbod.dev 🐙 github.com/hirbod ✖️ x.com/hirbod_dev Please help my friend: gofund.me/14262c568

PostsRepliesMedia
Hirbod @hirbod.dev · 06/02/2026
You'll find an English translation of the campaign at the end of the GoFundMe page. I thank you from the bottom of my heart!
010
Hirbod @hirbod.dev · 06/02/2026
I’ve known this family for decades. Seeing them go through this, with so many things breaking at once, is heartbreaking. This fundraiser isn’t about pity. It’s about giving them breathing room so Lourensa can focus on surviving and Nima can be there for his kids. Thank you to everyone. Fuck Cancer!
110
Hirbod @hirbod.dev · 19/06/2025
Thanks 🙏
030
Hirbod @hirbod.dev · 18/06/2025
You won't crash!!!! Just keep shipping Mon frère
010
Hirbod @hirbod.dev · 16/06/2025
Oh super nice. That’s even better. Gonna file a PR, ty Kudo
010
Hirbod @hirbod.dev · 13/06/2025
I tried modifying the podspec for two hours, the only thing that worked was the Podfile
210
Hirbod @hirbod.dev · 12/06/2025
Zeego fails to compile for you with useFrameworks: static? I got you! gist.github.com/hirbod/4b0b0... @kudochien.dev maybe you know a better solution for this, I think you know best whats up. Not happy with this dangerousMod but at least it unblocks plenty people
gist.github.com
React Native fix for libraries failing with ReactCommon/RCTHost.h not found - CNG - Config Plugin - Podfile fix
React Native fix for libraries failing with ReactCommon/RCTHost.h not found - CNG - Config Plugin - Podfile fix - README.md
261
Hirbod @hirbod.dev · 04/06/2025
Thanks your work on that @kudochien.dev. Truly amazing
120
Hirbod @hirbod.dev · 30/04/2025
But I think I get why this isn’t accessible for screen readers. I’m definitely lacking the skill and knowledge when it comes to this whole topic; the do’s and don’ts.
120
Hirbod @hirbod.dev · 30/04/2025
Our FeedItem is actually a GestureDetector (handles play/pause and double-tap to like), and the RectButtons are placed on top of it—not even nested in the tree. We do have nested pressables, eg in lists where the whole item opens a sheet, but the avatar inside navigates to the profile instead.
120
Hirbod @hirbod.dev · 30/04/2025
I get that, but I believe the „how“ can be optimized
100
Hirbod @hirbod.dev · 29/04/2025
I honestly never even thought about accessibility. We even use the NativeView and NativeText components directly to optimize performance by skipping all of that. We iterate so fast in startups, there’s no room for it until we have PMF.
230
Hirbod @hirbod.dev · 29/04/2025
Generally speaking, I don’t like these automated and expensive lookups. I’d rather have a dev-only warning that forces users to handle accessibility manually. And lookups should bail out fast and have some railguards.
240
Hirbod @hirbod.dev · 29/04/2025
From 300MB to 7GB plus a full hang is even worse. Yeah, it’s not a leak, but an infinite traversal bug. In some very rare and not reliably reproducible cases, nested touchables can trigger this bug and completely freeze the app in our case. Adding a fallback `accessibilityLabel` did the trick.
220
Hirbod @hirbod.dev · 29/04/2025
Yes. Since 2.1.7 it’s amazing and fast
160
Hirbod @hirbod.dev · 29/04/2025
I had a lot of moments reconsidering life choices or just raising alpacas instead of migrating, but it’s finally done. New architecture, @expo.dev SDK 53 (RN 0.79.1), and the fastest React Native app we’ve ever built (and I’ve ever seen!). Thanks to all contributors. Amazing achievement.
3375
Hirbod @hirbod.dev · 29/04/2025
This is just insane madness :D.. I really need a break from React Native :D
040
Hirbod @hirbod.dev · 29/04/2025
Imagine, that change made our app the snappiest and fastest react native app I've ever seen. The fucking FPS counter is finally going up, not down when tapping a button. :D
370
Hirbod @hirbod.dev · 29/04/2025
I added a simple "fuck off" as Label and the rare bug is gone. This is just madness and a really bad default by RNGH and React Native. 2/4
240
Hirbod @hirbod.dev · 29/04/2025
I was exploring a hard to debug memory leak in react native for at least 6 hours today. Turns out that when you don't add accessibilityLabel to RectButton or Pressable, it will fucking traverse all children to find a Text node or View with accessibilityLabel. This is insane. 1/4
4364
Hirbod @hirbod.dev · 19/04/2025
It looks wrong, I agree. > git reset --hard HEAD~1
020
Hirbod @hirbod.dev · 03/04/2025
🤔
030
Hirbod @hirbod.dev · 03/04/2025
He said „also example ist best of all worlds“ which I translated to „holy grail“. I am not spreading misinformation
140
Hirbod @hirbod.dev · 23/02/2025
Amazing
020
Hirbod @hirbod.dev · 18/02/2025
*not lot
010
Hirbod @hirbod.dev · 18/02/2025
We are on new arch now and I tell you, it’s lot fun 😩. Many many edge cases but we’re close
110
Hirbod @hirbod.dev · 18/02/2025
I try to make a short trip to London while he is there (or vice versa). Maybe coming with family for a weekend
010
Hirbod @hirbod.dev · 18/02/2025
Hey @samuel.bsky.team and @danabra.mov and @tazsingh.com and @mojavad.bsky.social. @peterp.bsky.social is in London for a few weeks. Super smart and humble guy. He also worked with @hailey.at on new arch for Bluesky. Y’all should definitely meet! Lots of synergy!
2111
Hirbod @hirbod.dev · 17/02/2025
Oh Marc provided a fix. I was curious to get some numbers. Our App bundle is too small, the win was very marginal (~2%). 4% for you. Why not.
130
Hirbod @hirbod.dev · 17/02/2025
@samuel.bsky.team worth a try, no? github.com/Expensify/Ap... github.com/facebook/rea...
github.com
Make Android app start 14%+ faster :rocket: by perunt · Pull Request #56930 · Expensify/App
facebook/react-native#49449 Apparently on Android, resources are compressed. And if the JS bundle is stored compressed, it has to be uncompressed before it can be loaded into RAM, hence not allowin...
140
Hirbod @hirbod.dev · 11/02/2025
But nice illusion
120
Hirbod @hirbod.dev · 11/02/2025
There is none
110
Hirbod @hirbod.dev · 04/02/2025
We changed our code to use the exported `NativeText` instead of calling `createElement("RCTText")`, and that seems to have fixed the problem.
020
Hirbod @hirbod.dev · 04/02/2025
We're trying to create a repro. We have one reliably in our project, but when we tried to make it a minimal repro, it stopped happening. We need to narrow it down and will get back to you once we have a reproducer.
040
Hirbod @hirbod.dev · 04/02/2025
This is the full error: wrapperError [Error: There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.] [Invariant Violation: View config getter callback for component `RCTText` must be a function (received `undefined`).]
120
Hirbod @hirbod.dev · 04/02/2025
This breaks react-native-keyboard-controller with Fabric only.
120
Hirbod @hirbod.dev · 04/02/2025
Does any @react.dev know why const Text = forwardRef((props, ref) => { return createElement('RCTText', { ...props, ref }) }) as ComponentType<TextProps> is causing There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.]
110
Reposted by Hirbod
Software Mansion @swmansion.com · 27/01/2025
The 5th edition of our React Native & @expo.dev- focused conf is coming closer and we're now accepting talks proposals! 🚨 If you have an interesting perspective on RN hot topics or you've come up with a solution for a common pain point & want to share your insights -> apply at appjs.co
23311
Hirbod @hirbod.dev · 25/01/2025
When you say applications, do you mean desktop apps or web apps? If it’s the latter, I believe RN will play a big role here. Universal apps are definitely the future, and PWAs suck. React Native is the best bet (in my opinion).
220
Hirbod @hirbod.dev · 25/01/2025
RSD will definitely help unify the API, but the underlying primitives will still be different.
110
Hirbod @hirbod.dev · 25/01/2025
Was pretty much equal.
020
Hirbod @hirbod.dev · 25/01/2025
Go fuck yourself
100
Hirbod @hirbod.dev · 25/01/2025
Am I taking it too far with @swmansion.com CSS animations? It’s so fun. I am definitely pushing the limits with this example. I love REA v4. Such an amazing beta release. Mark my words: pretty sure this example will run at 60fps soon! Gist: gist.github.com/hirbod/48e45...
1240
Hirbod @hirbod.dev · 25/01/2025
It’s okayish imho. I’m pretty hooked with Severance
130
Hirbod @hirbod.dev · 25/01/2025
Its pretty amazing. Sync measurements with Fabric are also superb!
010
Hirbod @hirbod.dev · 25/01/2025
Runs on @expo.dev custom dev client and @swmansion.com Reanimated v4 CSS Animations. Was 5 min initial work and a few minutes to understand sync measurement with Fabric :D If you want to play with it: gist.github.com/hirbod/dc161... The future is React Native.
3865
Hirbod @hirbod.dev · 23/01/2025
What are you talking? Look at the second post in the thread. I posted many stages
100
Hirbod @hirbod.dev · 23/01/2025
Lost my dad in July, now my puppy. My condolences with you
000
Hirbod @hirbod.dev · 23/01/2025
When your pup stops eating, you know it’s time. He was barely walking, vomiting often, and hardly touching any food (he also made strange noises from his throat). We tried medication for a couple of months, but eventually, we decided to end his suffering.
110
Hirbod @hirbod.dev · 23/01/2025
Also my condolences to you 🙏. I lost my dad at that time, now my second best buddy!
000