博文

目前显示的是 一月 15, 2025的博文

Scripting News: Wednesday, January 15, 2025

图片
Wednesday, January 15, 2025 The feediverse is not a joke. It's deployed, scaled, widely supported, far beyond AT Proto or ActivityPub. It's the HTML of the open social web. And where the others are complicated, feeds are really simple. # Matt Mullenweg said something provocative on Twitter two days ago that I'm just tuning into now. "The lawsuits will go years and could potentially bankrupt me or force the closure of WordPress.org." I commented on it as a developer who views WordPress as a platform. # Sad to say I'm going to have to mention Trump from time to time. When I hear a reporter wondering what to make of his thing about all those friendly countries he wants to go to war with, here's what it means. He's trolling you. Haven't you figured that out by now. Just by mentioning the weird thing he's talking about as if it were some kind of puzzle, a brilliant chess move, etc blah blah zzzz. It's trolling. Stop fallin...

24 hours left to get Composable Design Patterns for 35% off!

图片
If you want to learn how to get better at writing composables, Composable Design Patterns is the best way to do it. There's really nothing else like it. But the 35% off launch sale is ending in 24 hours. ​ Get Composable Design Patterns now . And you can buy it without any risk. If you don't like it, you can get your money back, no questions asked. (but I'm 99% sure that you will like it.) You can also check out the course preview if you want to take a look before putting up your money. Once you log in with your Github you'll be able to preview a couple of the patterns in the course. Here's the link again: ​ Check out Composable Design Patterns. ​ — Michael ​ Unsubscribe | Update your profile | 8 Queen St N, Kitchener, ON N2H2G8

🔥 (#200) Default content, debugging templates, and more

图片
Read this on my blog We made it to 200! Thanks for reading and supporting me over the last few years, it means a lot to me. Tomorrow is the last day of the Composable Design Patterns course launch and the 35% off discount. If you were hoping to pick it up, don't forget to check it out! As always, I've got some tips and links for you, and a new podcast episode. Enjoy, and have a great week! — Michael 🔥 Default Content with Slots You can provide fallback content for a slot, in case no content is provided: < !-- Child.vue --> < template > < div > < slot > Hey! You forgot to put something in the slot! < / slot > < / div > < / template > This content can be anything, even a whole complex component that provides default behaviour: < !-- Child.vue --> < template > < div > < slot name = "search" > < !-- Can...