博文

目前显示的是 五月 7, 2025的博文

Scripting News: Wednesday, May 7, 2025

图片
Wednesday, May 7, 2025 The Knicks are unbelievable . It feels like 2015, when the Mets would be down 9-0 in the seventh, and you'd tune in to see how they would win. At the very end of the Knicks game tonight, when the Celtics were up by 1, I thought how would this feel if the Knicks came back so far and didn't win. I should've known better. All those insufferable years when we wore paper bags to hide our faces , even if this is as far as the Knicks get this year, it will have been worth it. Sports teaches you to believe, if you wait long enough your team teaches you that. I've learned it from the Mets so many times, and the Knicks now. I just wish Clyde were doing the color with Mike Breen doing the play by play. But who cares, this was great sports. Watching Monica McNutt on MSG in a daze. It's like homecoming. I might just splurge for a ticket to Saturday night's game. It's a pretty easy drive. # I want the EV's they're get...

🔥 (216) Component design patterns, Nuxt's new data layer, and more

图片
Read this on my blog Hi! If you like design patterns, I've got something great for you. A free, 5 day mini-course that covers 5 different patterns for writing better components. You can get more details and sign up for it here: Component Design Patterns I also wrote up a detailed blog post about the new data fetching in Nuxt 3.17: Nuxt's Data Layer Has Been Rewritten: 5 New Features You Need to Know No new podcast episode this week, but we've got a couple great episodes coming soon! Have a great week! — Michael 🔥 Structuring Composables To keep your composables — those extracted functions written using the composition API — neat and easy to read, here's a way to organize the code. Component and directives provide and inject defineProps , defineEmits , and defineExpose (when using script setup ) refs and reactive variables Computed properties Immediate watchers Watchers Lifecycle m...