I forget that hooks and suspense are something outside of react sometimes. funny how unexpected it was seeing tips on writing and music
16.10.2025 09:18 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0@pmoen.me.bsky.social
Software developer based in Norway ๐ณ๐ด I post about frontend stuff, probably... @pettersmoen on ๐ฆ
I forget that hooks and suspense are something outside of react sometimes. funny how unexpected it was seeing tips on writing and music
16.10.2025 09:18 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0this 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!
12.10.2025 14:19 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0did you know that the "event listener" props in react, such as onClick, don't actually lead to event listeners being added to the DOM? instead react uses an event delegation pattern where all events are caught in its root element. it then bubbles the event through the react component tree.
12.10.2025 14:19 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0there is something immensely satisfying about spawning a bunch of agents in claude code and just seeing them rip through my 5-hour usage limit
11.10.2025 17:13 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0100% organic, free range, code being produced rn
06.10.2025 10:23 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0no worse feeling than using up your claude code tokens 1 hour into your work day. what am I gonna do until 2pm?
06.10.2025 10:12 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0made myself a solitaire app while exploring @v0.dev app. fun to be able to create the apps I need on my phone instead of going to the app store. it took 16 iterations before it was playable though, so maybe not quite there for the average consumer. I can see this becoming the way forward though
01.10.2025 15:54 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0LFG! thisโll be fun to explore
01.10.2025 07:34 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 1vibecoding just got better with the new @developer.chrome.com devtools mcpโก๏ธdid a small test where I got it to do a performance analysis of my website, and it's really easy to get started. I can see this being useful for verifying changes I've done locally, or for debugging accessibility issues!
29.09.2025 15:32 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0I found myself using ChatGPT to recollect the name of the partition function in es-toolkit. before chat I would have asked my overly FP enthusiastic colleague for that information. I miss those micro-interactions
12.09.2025 12:13 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0is this how gaslighting feels like? :(
12.08.2025 14:51 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0oooh, cursor has a cli tool now. that might be a game changer for my setup
08.08.2025 07:05 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0I just quit my cursor subscription to go all-in on Claude Code, and then GPT-5 drops. welp, time to reactivate I guess
07.08.2025 21:59 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0In 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
06.08.2025 13:04 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0recently started using Claude Code instead of Cursor, and I'm really enjoying it! both are awesome, but I really like how the focus in Claude Code is always about prompting
06.08.2025 13:02 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0seems 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!
03.07.2025 11:15 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0kudos to @github.com on the new pr review interface! really enjoy how easy it is to find other comments and see a recap of the comments I've left before submitting a review ๐ซถ๐ป
03.07.2025 08:47 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0damn! someone actually got it right! ๐ค๐ป
21.06.2025 17:51 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0every 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 ๐
21.06.2025 14:15 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0@erikras.com just showed off how you can program smart homes with react primitives. my mind is blown! awesome talk!
13.06.2025 13:14 โ ๐ 1 ๐ 1 ๐ฌ 0 ๐ 0right now there are only "official" plugins for webpack and parcel. I know vite is cooking up something, but doesn't seem to be any official plugins yet. that is what is holding react router back from releasing rsc. the preview release react router got out is built on top of parcel actually
13.06.2025 11:55 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0React Server Components snart ute i React Router, Zod ute med lenge etterlengtet versjon og tips for รฅ bli en magiker โ i denne ukas ForrigeUke fra Petter Sรฆther Moen i Bekk.
โ Forhรฅpentligvis vil dette gjรธre utvikleropplevelsen min en del bedre.
www.kode24.no/artikkel/mye...
got to talk at Bart.js, a JS meetup in Trondheim, today about React Server Functions. I had a great time! the crowd was brilliant!
wanna do more like this!
if this developer career doesn't work out I might be in the money drawing squigglies!
14.05.2025 12:00 โ ๐ 1 ๐ 0 ๐ฌ 2 ๐ 0carbon.now.sh is pretty nice for making code snippets, but unfortunately no way to display error squiggly lines. no ones gonna notice I drew them myself, right?
14.05.2025 11:47 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0the linkedin games are so fire. actually makes me open linkedin every day
13.05.2025 16:44 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0TIL: JS actually has private class properties. just prefix your fields with #. never seen anyone use them though
12.05.2025 07:17 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0morph transitions seems to be the only way to stay sane
11.05.2025 12:04 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0animations in powerpoint are so rough to work with, is there a better way to do animation in slides I'm not aware of?
11.05.2025 11:42 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0