Renato Lacerda
banner
ralacerda.dev
Renato Lacerda
@ralacerda.dev
Web Developer, Open Source enthusiast

github.com/ralacerda
linkedin.com/in/renato-ac-lacerda/
@mattpocock.com Do I need to include fields that are "never" in discriminated unions? ChatGPT keep telling me the second one is "safer" but I don't believe it.
June 14, 2025 at 6:46 PM
Decided to challenge myself and solve @cassidoo.co interview question of the week using types only. It's possible 🤯

This challenge got me so hyped, it was the perfect excuse to write a blog post!

renatolacerda.com/en/blog/vali...
June 10, 2025 at 8:38 PM
Is it crazy to use prefixes for global css classes when using scoped style (vue and svelte)?
- Easier to know where the style is coming from
- Harder to get conflicts
- 0 specificity with :where make it super easy to override it

@w3cj.com & @tolin.ski were talking about hard to find global styles.
February 5, 2025 at 6:03 PM
Copilot reviewer is calling attention to the fetch call without `await`. It suggest adding the `await` keyword, but that means it has to include `async` to the `useEffect` callback, which I don't think is best practices for React.

I'm not a React dev tho, am I wrong?

@joshwcomeau.com @bell.bz
October 31, 2024 at 1:47 PM
Bluesky now has over 10 million users, and I was #1,911,565!
September 16, 2024 at 9:59 PM