Petter Sæther Moen
banner
pmoen.me
Petter Sæther Moen
@pmoen.me
Software developer based in Toronto 🇨🇦 I post about frontend stuff, probably...
@pettersmoen on 🐦
Spotify kalte meg 19 år. usikker på om det er noe bedre egentlig...
December 3, 2025 at 6:28 PM
wow, that is so weird! I'd never have guessed I could use a conditional to distribute a type to each type branch like that. is it because the conditional is inferring the underlying type instead of just wrapping it?
December 3, 2025 at 6:28 PM
this leads to more performant event handling! another effect is that events will bubble differently. since the component trees often differ from the DOM trees they represent, the events will bubble the same way we code our apps. this makes event bubbling much easier to reason about for us devs!
October 12, 2025 at 2:19 PM
100% organic, free range, code being produced rn
October 6, 2025 at 10:23 AM
In Cursor I find myself prompting less, since it isn't always up in your face. In Claude I find I'm being forced into a iterative prompting cycle, which has been really doing wonders
August 6, 2025 at 1:04 PM
seems like there has been a regression on some coding agents. Cursor would previously just go crazy and do everything without asking, now I have to continuously tell it to proceed. I just wanna lean back and watch it fuck up my codebase!
July 3, 2025 at 11:15 AM
damn! someone actually got it right! 🤌🏻
June 21, 2025 at 5:51 PM
every time I check in at hotels I’m amazed at how slow the check-in process is. if I don’t have any special requests it should be one click 😆
June 21, 2025 at 2:15 PM