Yufa

@yufa-li.com

Web Design & Development - Building end-to-end solutions for busy tech leaders with a stress free process so you can focus on your priorities. #DevsWhoMeditate https://yufa-li.com/

Been reading a ton of technical documentation and they fall into two categories: 1. The kind that makes me think the author is a genius and I'm an idiot for not getting it. 2. The kind that makes me feel like the author is a friend sharing something cool and I'm a genius for getting it.

An easy way to improve your TypeScript skills is to learn about "discriminated unions". It's the best way to narrow types on an array of objects, like events, or in the case of my take home: pagination. By narrowing on `type`, TS knows whether `value` exists on the object or not, no need for `?.`

// Don't ❌
type Item = {
  type: 'page' | 'ellipsis'
  value?: number
}

// Do ✅
type Item =
  | { type: 'page', value: number }
  | { type: 'ellipsis' }

Meta is making big changes to hiring practices, sources told me and @mikeisaac.bsky.social - no more teams devoted to Diversity, Equity and Inclusion - no diversity preference for working with outside minority owned supplier businesses - no goals for hiring women and minorities

🎊 Happy New Year! I discovered a lot of very cool dev stuff in 2024, from libraries to devtools to educational resources. Thought it’d be fun to share them all, to help kickstart your 2025! Let’s go through the list. 🧵

I created a web accessibility and inclusion starter pack. Comment with your favourite accessibility folks, and I'll add them to the list. #a11y

Post nicht verfügbar.

I had a lot of impostor syndromes when I started out as a freelancer. **Spoil alert: i still have them** Impostor Syndromes are always present. Similar to meditation, you CAN train yourself to observe and be curious about your thoughts. What have helped me?