Sign in

Andrei Calazans

@andrei-calazans.bsky.social
101 followers 358 following 27 posts

Software engineering - React, React Native, GraphQL, Mobile, Infra.

PostsRepliesMedia
Reposted by Andrei Calazans
ceora ✨ @ceeoreo.dev · 15/04/2025
It’s me once again asking for some help😅 Are there any solutions/sales engineers out there who would be willing to chat with me about your experience? Would love to chat! I’m trying to figure out if solutions/sales engineering could be a good fit for me
0146
Andrei Calazans @andrei-calazans.bsky.social · 10/01/2025
We were seeing misleading stacktraces in Bugsnag. Turns out the new Error object takes a stacktrace snapshot when you instantiate it, thus defining it in a variable far away from where it is thrown will mislead your stacktrace. See this post for the explanation andrei-calazans.com/posts/predef...
andrei-calazans.com
Why Predefining Errors as Constants is Problematic
Using predefined error constants introduces misleading stack traces, which can complicate debugging and error tracking.
040
Andrei Calazans @andrei-calazans.bsky.social · 05/01/2025
They likely oversell knowing the high churn rate.
010
Andrei Calazans @andrei-calazans.bsky.social · 25/11/2024
Yes! I feel the same. Great times are ahead of us, specially if you had to build Android apps on early RN versions.
010
Andrei Calazans @andrei-calazans.bsky.social · 22/11/2024
Do people actually make money on Medium? Every once in a while I find something I actually want to read and can't bc I just can't get myself to pay Medium
070
Andrei Calazans @andrei-calazans.bsky.social · 21/11/2024
This wiser than you think when you consider FlatList's default virtualization config. By default it renders 21 pages, so consider a page with 8 visible items that's 168 items rendered. Most usages don't fetch over 40 items at once
030
Andrei Calazans @andrei-calazans.bsky.social · 21/11/2024
It's a complicated overlap between platform specific versus React Native knowledge, will be hard for RN docs to cover all the platform specific stuff.
000
Andrei Calazans @andrei-calazans.bsky.social · 19/11/2024
There isn’t an alternative because the UIManager module that dispatched commands via node handler no longer exist on the new architecture.
030
Andrei Calazans @andrei-calazans.bsky.social · 18/11/2024
With the above you should be able to see where the issue lies.
000
Andrei Calazans @andrei-calazans.bsky.social · 18/11/2024
3/ Analyze JS CPU profiling in production. Use @margelo.com 's react-native-release-profiler github.com/margelo/reac... to capture release profiling. Use the --fromDownload option and explicitly pass the source maps generated from the release build.
github.com
GitHub - margelo/react-native-release-profiler: A fast and simple library to passively profile JS/Hermes performance in production and release builds.
A fast and simple library to passively profile JS/Hermes performance in production and release builds. - margelo/react-native-release-profiler
151
Andrei Calazans @andrei-calazans.bsky.social · 18/11/2024
2/ Profile the APK natively. Add <profileable android:shell="true" /> to your AndroidManifest then do a native profiling of your APK via Android Studio. Then edit the build configuration to start profile recording on startup. ps: this crashes sometimes but be persistent, it's quite helpful.
100
Andrei Calazans @andrei-calazans.bsky.social · 18/11/2024
This could be many things. If the scroll is choppy at the native level maybe the UI thread is too busy. Few tips, only do this with a release build: 1/
120
Andrei Calazans @andrei-calazans.bsky.social · 18/11/2024
it was deprecated but then put back to ensure backwards compatibility.
110
Andrei Calazans @andrei-calazans.bsky.social · 18/11/2024
:smile:
010
Andrei Calazans @andrei-calazans.bsky.social · 15/11/2024
It seems like sharing posts on Instagram is also one
020
Andrei Calazans @andrei-calazans.bsky.social · 15/11/2024
This is a great find by Dan Abramov, you can reduce the Reanimated serialization traffic by moving the different animation end states outside the frequently updating context by using makeMutable. github.com/bluesky-soci...
github.com
Reduce Reanimated serialization traffic by gaearon · Pull Request #6219 · bluesky-social/social-app
This was a major WTF moment for me and I&#39;m still not sure to what extent this is actually useful. However, the Android GPU profiler seems to be happy about this change. There is some informatio...
030
Andrei Calazans @andrei-calazans.bsky.social · 15/11/2024
started using Bluesky this week bc of that
030
Andrei Calazans @andrei-calazans.bsky.social · 15/11/2024
and how do you use them? sure I've had a few conversations with them but i still find it a bit cold and unable to perceive my emotions.
100
Reposted by Andrei Calazans
Margelo @margelo.com · 14/11/2024
We built this! 💪 Hire us if you need advanced features like this 📩
072
Andrei Calazans @andrei-calazans.bsky.social · 14/11/2024
Totally deserve, they were early on solving an entire set of challenges with handling server state.
010
Andrei Calazans @andrei-calazans.bsky.social · 14/11/2024
Micromanaging is a big part for sure. But I also think that not everyone is fit for remote work. It takes high level of self agency to be productive in a such a free environment and to find such talent takes a bit of hit and miss.
000
Andrei Calazans @andrei-calazans.bsky.social · 14/11/2024
Rocket
000
Andrei Calazans @andrei-calazans.bsky.social · 14/11/2024
The compounding growth
010
Andrei Calazans @andrei-calazans.bsky.social · 14/11/2024
It's a bit scary to see Elon Musk have so much control over the narrative on X/Twitter. I'm not american, nor do I support any one side, but there was a clear control of narrative on X during this election.
000
Andrei Calazans @andrei-calazans.bsky.social · 14/11/2024
It's amazing see @expo.dev go from being rejected by anyone doing serious React Native development to becoming the best choice.
020
Andrei Calazans @andrei-calazans.bsky.social · 29/10/2024
Appreciate this
020
Andrei Calazans @andrei-calazans.bsky.social · 29/10/2024
Oh and Flipper is also dead now. Meta won't continue developing it. fbflipper.com/blog/2024/10...
fbflipper.com
Changes to Flipper's Open Source Repository | Flipper
Flipper has been an integral part of the mobile development process at Meta for years. We've been proud to share our internal tool with the open source community, and it has been amazing to see how it...
010
Andrei Calazans @andrei-calazans.bsky.social · 29/10/2024
Let me try Bluesky for a bit. Let's see if it can expand my network beyond what X/Twitter can offer me.
100
Andrei Calazans @andrei-calazans.bsky.social · 29/10/2024
FYI React Native Core is deprecating SafeAreaView. Use react-native-safe-area-context instead: github.com/react-native...
github.com
Handling Android 15's edge-to-edge enforcement on React Native · react-native-community discussions-and-proposals · Discussion #827
tl;dr: Android 15 will now enforce edge-to-edge when you opt-in to targetSdk 35. For properly handling such scenario, we are recommending community library react-native-safe-area-context. What is c...
140