博文

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

Scripting News: Thursday, May 15, 2025

Thursday, May 15, 2025 How feeds work in WordLand. # Great Art on Bluesky is back. A beautiful work of art every hour. # The Democrats need an entrepreneur at the top. Stop doing things as they've always been done because the media has changed. The old rules no longer apply. # Linkblog items for the day RFK Jr. Is Coming for Abortion Pills. motherjones.com Nate Silver: Did the media blow it on Biden? natesilver.net 2016: I wonder what Twitter will look like ten years from now? scripting.com Remember reading the paper? npr.org Tesla employees ask Elon Musk to resign, confirm massive demand problem, get fired for it. electrek.co NBA playoffs: Timberwolves close out Warriors to reach second straight Western Conference finals. sports.yahoo.com Copyright 1994-2025 Dave Winer. This email was sent on: 5/16/2025, 12:00:00 AM Eastern. "Slow down to hurry up." This blog has been runni...

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...