博文

目前显示的是 三月 12, 2025的博文

Scripting News: Wednesday, March 12, 2025

图片
Wednesday, March 12, 2025 Today's song: Starting Over . # Highly recommend this week's New Yorker Radio Hour interview with Stephen Kotkin of Stanford. He's an expert on Russian history, biographer of Stalin, he talks about what Trump is doing, and as I listened I realized we have not filled in how crazy or challenged the leaders of the other huge powers are. Trump apparently is not an outlier. Putin can't keep the war going in Europe indefinitely, their banking system is running on fumes and the people are tired of war (unlike in the US they feel their wars). There's tremendous corruption in the Chinese military, so Xi isn't rushing to try to take over Taiwan. It's easier and safer to just keep threatening. In the US we're shocked by what we've become, so quickly, we're failing to see the context. Kotkin also offers a perspective on the new media, relative to when TV and radio were new, and all the chaos the US has survived. H...

🔥 (#208) Context-aware components, dynamic slot names, and more

图片
Read this on my blog Heyo! Today Vue Amsterdam is starting, so I'm going to avoid social media to prevent excess FOMO (let's be real, I won't actually avoid social media). Also, less than two weeks until the new version of Mastering Nuxt is launched! This will be an early access while I finish recording the lessons. I don't want to rush things so I can make sure the lessons are as useful and clear as they can possibly be. I hope you enjoy these tips and enjoy your week, — Michael 🔥 Creating Magic with Context-Aware Components Context-aware components are "magical" — they adapt to what's going on around them automatically, handling edge cases, state sharing, and more. There are 3 main types of context-aware components, but configuration is the one I find most interesting. 1. State Sharing When you break up a large component into smaller ones, they often still need to share state. Instead of pushing...