博文

Preserve Whole Object Pattern: Free lesson from Clean Components Toolkit

图片
Hey, I often get asked, "is it better to pass a whole object or separate props to a component?", so I wanted to give this to you. The answer is in the name of the pattern (keep it whole!), but the pattern dives into why , and gets into some nuance as well. Then, there's a whole step-by-step refactoring showing you how to apply the Preserve Whole Object Pattern to an example app, a quiz so you can test your knowledge, and then a video where I further explain my thoughts on the pattern. ​ Read the Preserve Whole Object Pattern ​ (you'll need to login with Github) There's a lot to learn there, and it's just one of 21 in the Clean Components Toolkit! 21 tools in the Clean Components Toolkit Each of these tools has the same structure: An explanation of the pattern A step-by-step tutorial showing how to apply the pattern to real world code A quiz to test your knowledge A video diving further into how to think about the pattern T...

Scripting News: Wednesday, May 14, 2025

图片
Wednesday, May 14, 2025 If you get the nightly email, a questionnaire . Is the text a good size? Easy to read? Suggestions? # RSS-based podcasts are built-in and not going anywhere. Here's why. As long as there are lots of good podcasts available for listening to via RSS on phones, every competitive 'caster is going to want to be there, because their competitors are. And as long as I can get a good selection of interesting stuff to listen to on my phone, there's no reason look elsewhere. And as far as I know I can't listen to a YouTube "podcast" in my car or when walking. One more thing, please stop using death metaphors re RSS. Learn how framing works. A few nasty people in the early 00s did a number on RSS and started putting that awful word next to RSS. It was a way of earning points from the people who ran Twitter and tech conferences like SXSW, basically asshole-like people who wanted to close the door on the open web. And now her...

🔥 (217) Default Content and Extension Points, Fine-Grained Loading, and Configurable Composables

图片
​ ​ Hey! I've got a few new Nuxt articles for you (I've been busy): Nuxt's Data Layer Has Been Rewritten: 5 New Features You Need to Know Mastering Custom Themes in Nuxt UI Server Routes in Nuxt If you're interested in learning more about component design patterns, Clean Components Toolkit is 35% off until May 22! You can grab it here: Clean Components Toolkit Every week new lessons are being dropped for Mastering Nuxt ! Yesterday, we started on the data fetching chapter where we wrap up all basic functionality on the app. Have a fantastic week! — Michael 🔥 Default Content and Extension Points Slots in Vue can have default content, which allo...

Scripting News: Tuesday, May 13, 2025

图片
Tuesday, May 13, 2025 New WordLand feature: Edit all categories for a site. # Video demo of the new categories editor in WordLand. I wanted to be able to add new categories and edit the descriptions of existing categories without having to leave WordLand. I feel that categories are an important part of writing. # This is what it says on Google about tomorrow night's Knicks game vs the Celtics in Boston. I've pointed the red arrow at the part that makes me think I must be dreaming. NYK leads 3-1. Yesterday at this time (5:30PM Eastern) I was in a funk, sure that the Knicks were about to be obliterated by the Celtics who had blown out the Knicks on Saturday, and the beginning of last night's game confirmed that suspicion. The Knicks couldn't seem to hit a shot, and the Celtics were hitting 3-pointers over and over and over and over. My body chemistry shifted. I felt the doom members of an ancient tribe of primitive humans must have felt as we we...

Clean Components Toolkit is 35% off!

图片
Hey, If you want to learn component design patterns in Vue, now is the time! Clean Components Toolkit is now 35% until May 22. You can grab it here: Clean Components Toolkit ​ If you have any questions about it, just hit reply and let me know! — Michael ​ Unsubscribe | Update your profile | 8 Queen St N, Kitchener, ON N2H2G8

Scripting News: Monday, May 12, 2025

图片
Monday, May 12, 2025 Google may be forced, for the public good, to sell Chrome, or spin it off as an independent company. Who would you want it not sold to? If it were independent how would it make enough money to maintain the software? What should change? What should not? # There must be a group of librarians somewhere exploring ChatGPT-like products as a completely new library experience. # I worked my way through all six seasons of Peaky Blinders . I had tried it a few times before and found it hard to get started, but this time I persevered, got to know the characters, and enjoyed the stories. I knew the series was about to end as we approached the end of the final episode, and thought things were about to wind down, and then it took a little turn, no spoilers, that maybe was the best ending for any series ever. Originally I thought that honor went to Six Feet Under , which had a kickass ending too, but when I re-watched the series recently I realized the re...