博文

目前显示的是 九月 3, 2025的博文

Scripting News: Wednesday, September 3, 2025

Wednesday, September 3, 2025 Podcast: Last chance for the open web . # I want to start reading a bunch of WordPress community blogs . # Linkblog items for the day I can't imagine anyone gives a fuck what chief justice John Roberts thinks about anything. politico.com 5 forecasts early climate models got right – the evidence is all around you. theconversation.com Utah's congressional maps must be redrawn right away, judge rules. pbs.org Microsoft releases 6502 BASIC as open source. opensource.microsoft.com Where did all the WordPress editors go? herve.bzh Pharmacists decry COVID Vaccine Delay. spectrumlocalnews.com Trump says he's set to order federal intervention in Chicago and Baltimore. apnews.com It's time for Chuck Schumer and Hakeem Jeffries to step down. theguardian.com Trump's Most Fateful Teardown Is Happening Now. nytimes.com Homophobe Rand Paul slams gay health expert Daskalakis. advo...

🔥 (233) Writable Computed Refs, Hidden Components, and Render Functions

图片
​ ​ Read this on my blog Hi! This week is a bit quieter for me. I just wrapped up the launch of Advanced Reactivity , so I'm switching gears a little. So, no new articles for you this week, but I've got some from the archives that you might have missed! And of course, your tips, as always. Have a fantastic week! — Michael 🔥 Writable Computed Refs Computed refs are cool and all, but did you know you can create writable computed refs? const firstName = ref ( '' ); const lastName = ref ( '' ); const fullName = computed ({ get : () => ` ${ firstName . value } ${ lastName . value } ` , set : ( val ) => { const split = val . split ( ' ' ); // ['Michael', 'Thiessen'] firstName . value = split [ 0 ]; // 'Michael' lastName . value = split [ 1 ]; // 'Thiessen' } }); fullName . value = 'Michael T...