博文

目前显示的是 七月 17, 2024的博文

Scripting News: Wednesday, July 17, 2024

图片
Wednesday, July 17, 2024 Today's song: It's the End of the World as We Know It (And I Feel Fine) . # The Repubs can win by throwing the election into the House. They can probably get it by the courts in enough places, just a couple of swing states, and they win even if they lose by normal vote-counting methods. The whole bit about Biden's age is meant to distract us from the fact it probably doesn't matter how old the Democratic candidate is. # Hello from 2024 # A podcast about listening to the podcasts from 2004. # This is a short episode about what I learned, and what's coming up. # Humbling experience. # Nana Kitty played Shoreline # Wordle Kitty's great grandma plays with the Dead at Shoreline in the 80s. # Linkblog items for the day. Allan Lichtman: The Science of Political Prediction. guykawasaki.com Copyright 1994-2024 Dave Winer. Thi

🔥 (#174) Start with the Interface (and don't gold plate!)

图片
Hey all! I've got two new articles for you this week, as well as some other tips and tricks. But first, some news! Nuxt Tips Collection will be launched on August 5th! 🎉 You can sign up for more updates and a special discount here . Okay, now for the articles! Start with the Interface (and don't gold plate!) I Messed up My Codebase (and the lessons I learned) This second I wrote a few months ago, then forgot about it in my drafts folder. So consider it a bonus article! Have a great week! — Michael 🔥 Composable Return Values When you're creating composables, here are some things you can do to make it easier to work with their return values. Return an object of refs , so that reactivity is preserved when destructuring: // Composable const useBurger = () => { const lettuce = ref ( true ); const ketchup = ref ( true ); return { lettuce , ketchup , }; }; // Component setup (