Skip to content
  • LC
    Luis Castro

    Mar 16, 2026

    After shipping several React Native apps with complex list UIs, I settled on a set of patterns around FlashList that consistently perform well. Read more to uncover my thought process, strategies like wrapping FlashList in a reusable component, tuning props like drawDistance and recycle pool size differently for iOS and Android, and gating on screen focus to avoid visual artifacts with react-navigation.

    Let’s also take a dive into react-native-gesture-handler’s ScrollView. Why it is an upgrade on iOS, but on Android it has some really bad behaviors that will significantly affect your User Experience.

  • LC
    Luis Castro

    Mar 15, 2026

    I have had my website as a platform for sharing my thoughts and ideas. But I wanted to redesign it to better reflect the idea of occasional thoughts and having less pressure on what we post.

    We don’t give too much thought to what we write on social media. I think it is because we have a sense of immediacy and pressure to post constantly. But we don’t give enough attention to our personal websites, because we want them to be this extra polished thing. That is the total opposite of what we want on social media.

    So let’s meet in the middle and make our personal websites more like social media.

  • LC
    Luis Castro

    Mar 14, 2026

    I had one of my best nights of sleep, and today I focused on what’s important to me. My family, my dog and the sense of accomplishment around the things I worked on. Digg wasn’t a successful project, but it was very humbling to see how difficult it is to build a successful social media platform.

  • LC
    Luis Castro

    Mar 13, 2026

    It’s funny because yesterday I was so calm, but hey, it is a Friday the 13th, and my friend Aleks was right, it’s a haunted day, today I was affected by the layoff at Digg, so I will be looking for a new job and/or opportunities available. I’m grateful for the experience I gained and the people I met during the journey. Breaking the social media network effect is hard in 2026

  • LC
    Luis Castro

    Mar 12, 2026

    Today was a good day. I walked the dog this morning and just had a lovely conversation with one of my neighbors about the building renovations. Then we walked along the river path, greeted other dog owners, and talked for a bit. We only encountered dogs that my dog liked during this walk, so there was no barking. It was peaceful, and everyone was extremely cheerful.

  • LC
    Luis Castro

    Feb 7, 2026

    Howdy, fine people. Remember when I said “once a month, if something interesting happened”? I did not take into consideration the “what if you do way too many things in a month” scenario. So here we are. It’s early February, but this one is a recap of late December and January.

    I’ll get to some life updates further down, but as always, let’s to start with the good stuff: things you might not know existed, and might be interested in. Here are a few that I’m loving and using right now, plus my conclusions after I inevitably obsessed over the details.

    Fashion Winter season is sweater season. I took a chance on this 1941 USN Seaman Sweater (Anthracite). I’d only tried Pike Brothers for their pants before, and there’s a lot of talk online about their wool sweaters. I’m liking it, but I strongly recommend trying it in a store first. It has a very specific fit. I normally wear M, but I sized up because I didn’t like how the M sat on me.

  • LC
    Luis Castro

    Dec 16, 2025

    I have been known for doing lots of deep dives and research before I buy anything among my friends, so I decided to share those thoughts and ideas with everyone. I’d like to make this a monthly thing, only when I have something interesting to share. Some months you will hear nothing, and that is the point.

    Here’s the good stuff: things you might not know existed, and might be interested in. Here are a few that I’m loving and using right now, plus my conclusions after I inevitably obsessed over the details.

    I finally stopped doing the “level + pencil + patience” routine and bought two tools that have saved me an unreasonable amount of time:

  • LC
    Luis Castro

    Feb 1, 2024

    My inner circle of friends is mostly composed of developers, and we always talk about what separates so-called senior developers from actual senior developers. In my opinion, it boils down to professionalism versus wishful thinking.

    There’s always pressure from the Agile flavour your company has chosen to use to show where you are, what’s missing, and how we (the team) can unblock you to complete your tasks. If you haven’t finished your task, don’t lie about it (not even to yourself) – this leads to tech debt that you or your teammates will have to finish and stress about later. If you want to maintain control of the situation and things slip out of control, finish the code you started writing.

    Nowadays, this is quite easy to implement; we have many tools to enforce how written code can be read. Nobody likes a discussion about when to use curly braces or lingering commas at the end of the JavaScript code base. Use prettier, use eslint, use the tools available, and automate all of this work right now.

  • LC
    Luis Castro

    Jan 31, 2024

    I saw this on Matt Birchler’s blog, and then saw on Mastodon a multitude of people posting about their default apps in their own blogs. So I decided to jump on the trend, since it looks like this would be a fun one to do 😅.

    Most of my choices are oriented on trying out the private first focused products; I’ve been through my phase of trying a specific app for everything, but nowadays, I’m settling down on things that actually work and don’t sell my data to others.

  • LC
    Luis Castro

    Jan 1, 2024

    them to grow and build up a piggy bank for their next ventures.

    therefore, I do not have to rush any decision if I want to change the workplace. Before, I dread doing this, but in 2023 I now see it as something that’s fun and refreshing.

    topics.

  • LC
    Luis Castro

    Nov 11, 2023

    One of the things that I have vocalised to myself after reading this article from Dan Lew with the same name, is that I have stopped this behaviour by my own without noticing it. Like the article states, it has made me happier to do so.

    Let me explain my point of view on why I believe this is the natural progression of every senior developer in a company and my reasons behind proposing more adoption of tools like standardJS on your workflows.

    Code is opinionated, we all have our own personal biases and our own way of writing that comes baked in with our personalities, what is easy to understand and write for me might not be so easy for the person in front of me.

  • LC
    Luis Castro

    Dec 28, 2022

    This year has been a big one, we could talk about how there has been a lot of movement on the macroeconomics situation of most countries, that a war started between countries that aren’t that far from where I live, or that we could be living the start of another dotcom like a cycle.

    All of which sounds like we just had one of the worst years in a while, but like always, there’s some good too.

    I will start this year’s review like always, looking at what I wanted to accomplish this year and how close I got to between those boundaries. Then I will reflect on a few life events that changed how I think I should approach the exercise of making new goals for 2023.

  • LC
    Luis Castro

    Sep 14, 2022

    I’m pulling the plug of being comfortable with the apartment, the city, the state, the country I live in, and everyone within a 20km radius from me.

    How? I’m moving to another country, a smaller one that’s not that far, and not too many people even know exists, to begin with.

    Why? Because I want something different, I want to live in the mountains and in a country that treats me well, and that sentence might sound interesting to you, so let’s break down what that means for me.

    1. A winter with a ton of snow forces me to learn how to ski.
    2. More hikes for my dog and me, nature for both of us, and a better quality of life.
    3. Taxes… A country that gives you a lot of benefits through the income you bring into the country and, does not burden you because you might be doing well or better than the average.

    This is the beginning of it, the story of me moving to Andorra.

  • LC
    Luis Castro

    Aug 29, 2022

    The other day at my day to day job I came out with this thought that I had to tweet, because I wanted to seek validation from the community about it.

    To my surprise, lots of people actually felt the same as I, some shared it publicly and others via other channels, but there was a common factor, local State prevails and global state is the root of all evil within React.

    You probably know this already, focusing on your local state first makes more sense than putting everything into the global state, because not everything has to be shared by every single page and user flow your app contains. So that’s not an area we’ll focus in this blog post.

  • LC
    Luis Castro

    Jul 18, 2022

    This week I saw a couple of Twitter threads (an example of 1 of them, PS is in Spanish) that made me think about my work-life prioritization and what’s the balance I have been pursuing, and why. I reached the apex of this thought when I received a newsletter about the same topic which inspired me to write today’s post.

    First, let me tell you how I pictured work-life balance, my belief was to have a healthy one, you should avoid speaking of your work-life outside of work and your events during work. This behavior limited me because I could only emphasize with the team members I spoke with about my personal life, which took me a while to be open about it, to be honest.

    So once I understood that talking about both was ok and that I enjoyed speaking about them, this made me healthily re-think my friendships. I started to understand that most of the friends I have were like my old self version, trying to separate things out and never speaking out loud about them, which made me question one thing, do we have a work-life balance? Did we hate what we do? Do we just do it because we have to and there’s no enjoyment in it?

  • LC
    Luis Castro

    Jun 15, 2022

    I was the guest on the #1 episode of the new series of Agile State of Mind channel,

    We spoke about deconstructing the Engineering Managers’ Role, a bit about breaking the rules, soft skills, collaboration on tech specs, and fresh air on what it means to be a real full-stack developer.

    Grab your popcorn and put your Engineering lead hat. This was extremely fun to do, and it was really nice to be on the other side of the show (being the one being interviewed heh).

  • LC
    Luis Castro

    Mar 24, 2022

    Since I went back to the leadership track I have been focusing most of my energy on giving opportunities to my team members to grow and giving myself time to mentor them during moments where I have knowledge that can be helpful that they do not have, now, you may think that this might not be the best use of my time as a team leader but if you think this I will strongly disagree with you, let me tell you why.

    When I started my career as a developer, I was strongly focused on the frontend, I didn’t understand anything about APIs, Databases, and how the backend on the applications I worked on did anything. Everything was just magic for me. So when my company had to shift directions and required everyone to be full-stack developers I had to unravel all the magic by myself to continue riding the success of the company or jump into the lifeboats and navigate to a different ship.

    I chose to stay and what followed was the most complicated days of my life, where I felt like developing code wasn’t my calling even though it was what I enjoyed doing.

  • LC
    Luis Castro

    Jan 17, 2022

    A guide to set up my M1 Pro MacBook, why? Well, the last time I upgraded my personal computer, it was 2017 and I had a list of things that I installed on my dev setup at that point in time that honestly ins’t valid anymore for my current development process.

    Heads up, the process might actually be easier than what I anticipated. Most software is now written to run on Apple Silicon.

    By default MacOS puts the dock at the bottom and is always displayed. I’m one of those persons that like to run the dock on the left side of the screen and also have it hide when not used. This is to maximise the vertical workspace area. I also don’t love the behaviour of Big Sur that minimises the window into a separated view, so I change this config to always minimise to the app icon.

  • LC
    Luis Castro

    Oct 18, 2021

    During this fall and after some health issues that I finally resolved, I wanted to explore nature more, after a bit of reading and hearing some recommendations I decided to visit this route.

    In Girona we find this beautiful route of the Torrent de la Cabana which descends through the mountains and forms 7 small falls called Gorgs. This is a hike that most people would recommend doing during the summer, but let me tell you why it was great to do during this time of the year too.

    It’s an easy hike, not too many ups and downs during the route, and you don’t have to have a great physical condition to complete it. I saw families with kids between 1-7 years old which means it’s a quite accessible route to do.

  • LC
    Luis Castro

    Sep 15, 2021

    Inspired by a conversation I had with a teammate about my career and how I became a staff engineer, I decided to post a quick read on the things I feel shaped my career and the opinions I have maintained, changed, and kept during the past 10 years.

    business case rises.

    solution to the problem than writing the solution.

  • LC
    Luis Castro

    Sep 6, 2021

    For the past 20 days, I have been experimenting with not having my alarm turned on. Honestly, I was a skeptic when I started with it, I had some words from Alexis (@duranmla) and his experiences to guide me and ease my doubts. Now I want to share my experience.

    I had my alarm set to 8:00 am, which by today standards is actually an hour that not many can have their alarm set to, I have a great schedule and situation, I don’t have to travel far to get to my job, in fact, my bedroom is just 1 door away from my office where I’m currently typing this post while sipping a cup of coffee.

    I have said it many times on my podcast, I don’t even work in the morning, my workday starts at 1:00 pm, and that’s because I love the morning to do my chores and go out when most people can’t or don’t want to.

  • LC
    Luis Castro

    Aug 29, 2021

    The COVID-19 pandemic made me reflect on my life, you probably did it too. 2020 was an interesting year and I made some goals for 2021 that I didn’t make public and I believe this was a mistake, by obscuring these goals I had no accountability.

    I’m planning to do that differently now. I want to give myself permission to try new things, and align my goals to my values and purpose. I’ll be sharing them in this blog post and I hope to inspire you too.

    So let me tell you what I’m going to start doing from now on and expect to accomplish by the end of 2022.

  • LC
    Luis Castro

    Aug 13, 2021

    As an engineer, I spend most of my time thinking about the best possible solutions for the problems we encounter, and as many engineers I know, I don’t spend nearly half of the time I spend on new solutions at updating, upgrading, and overall improving previous code I made.

    That’s overall fine in our industry, for the most part, we follow the philosophy of if it ain’t broken don’t touch it. But what if we need to modify that code to add new things? Well, we are touching something now that isn’t broken but adding more complexity to it which means, more points of failure and possibly introducing new ways of breaking it.

    At this point you are thinking, well, it’s time to refactor it! But I want to make you ask yourself, refactor what? Our new code, our previous code, the combination of both? Can we retrofit our new logic into the old one? If you can’t answer those questions with a resounding yes… Well, let’s say you are now entering “rewrite” territory.

  • LC
    Luis Castro

    Jun 15, 2021

    I started to talk about a way to start investing on what I learned from peer to peer investing, but I didn’t explain what made me say “I need to start investing”, and I believe this is even more important than saying what has worked for me.

    For me it all started in 2020, you probably know the drill here, COVID-19 hit different populations in different ways but I was paying attention to the financial market and seeing the drop in different sectors thinking how would this affect my daily life, I was too scared seeing the downhill trends in the charts on my Stocks app and it made sense, I didn’t know anything about it, so these lines where just lines going down in red for me, how could I not be scared of them?

    Fast-forward a few months, and the recovery of the markets starts to be noticeable, all the charts show their graphs in green and the lines have an upwards trend, but here I am, seeing all this data on my screen and still not understanding much of what I’m seeing.

  • LC
    Luis Castro

    May 31, 2021

    I found this week during my podcast listening sessions the concept of slow TV thanks to this episode of Invisibilia, to give you a resume of it, the whole concept is to produce a show with no plot, no characters, and surely no tension… Have you seen those live streams on YouTube of trains on Norway? Well, that’s basically it.

    This concept on paper sounds so simple and yet, it isn’t. It made me feel uncomfortable for a reason, it made me listen to my inner thoughts and start thinking about the story of my life, it made me daydream of things and I should be doing or that I wanted to do and I haven’t done because I haven’t put the time to do them.

    It all started with untaken trips that I should 100% do, but it grew further than that. Why haven’t I taken these trips? Why haven’t I put the time into researching what would make them possible? etc. And after a while contemplating the railroad and these beautiful nordic scenarios, it hit me.