Andrei Calazans's Avatar

Andrei Calazans

@andrei-calazans

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

98
Followers
357
Following
27
Posts
29.02.2024
Joined
Posts Following

Latest posts by Andrei Calazans @andrei-calazans

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

15.04.2025 18:02 πŸ‘ 14 πŸ” 6 πŸ’¬ 0 πŸ“Œ 0
Preview
Why Predefining Errors as Constants is Problematic Using predefined error constants introduces misleading stack traces, which can complicate debugging and error tracking.

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...

10.01.2025 16:46 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

They likely oversell knowing the high churn rate.

05.01.2025 12:51 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Yes! I feel the same. Great times are ahead of us, specially if you had to build Android apps on early RN versions.

25.11.2024 14:09 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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

22.11.2024 13:23 πŸ‘ 7 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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

21.11.2024 14:33 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

21.11.2024 14:26 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

There isn’t an alternative because the UIManager module that dispatched commands via node handler no longer exist on the new architecture.

19.11.2024 10:41 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

With the above you should be able to see where the issue lies.

18.11.2024 14:35 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
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

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.

18.11.2024 14:35 πŸ‘ 5 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Post image Post image


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.

18.11.2024 14:35 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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/

18.11.2024 14:35 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

it was deprecated but then put back to ensure backwards compatibility.

18.11.2024 12:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

:smile:

18.11.2024 12:42 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

It seems like sharing posts on Instagram is also one

15.11.2024 17:08 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
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...

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...

15.11.2024 17:08 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

started using Bluesky this week bc of that

15.11.2024 14:45 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

15.11.2024 14:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

We built this! πŸ’ͺ
Hire us if you need advanced features like this πŸ“©

14.11.2024 15:08 πŸ‘ 7 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

Totally deserve, they were early on solving an entire set of challenges with handling server state.

14.11.2024 17:08 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

14.11.2024 17:05 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Rocket

14.11.2024 17:02 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

The compounding growth

14.11.2024 17:01 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

14.11.2024 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

It's amazing see @expo.dev go from being rejected by anyone doing serious React Native development to becoming the best choice.

14.11.2024 16:56 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Appreciate this

29.10.2024 19:19 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
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...

Oh and Flipper is also dead now. Meta won't continue developing it.

fbflipper.com/blog/2024/10...

29.10.2024 13:22 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Let me try Bluesky for a bit. Let's see if it can expand my network beyond what X/Twitter can offer me.

29.10.2024 13:01 πŸ‘ 0 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0
Preview
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...

FYI React Native Core is deprecating SafeAreaView. Use react-native-safe-area-context instead:

github.com/react-native...

29.10.2024 13:00 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0