Timon van Spronsen
1.1K posts

Timon van Spronsen
@timonvspronsen
🇳🇱 Lead Software Engineer @Cimpress #a11y / React / TS / JS / Elixir / Elm Previously @madeawkward / @sketch
Rotterdam, The Netherlands Katılım Haziran 2009
1.8K Takip Edilen311 Takipçiler

Give it to me: what would you change on this landing page? One box ticked at least: showing off Cirrux Mail. cirrux.co


English

@rickpastoor I also noticed that the images are PNGs, they should be much smaller as WebP for instance. You're using Next.js so there should be a built-in way to handle this automatically iirc, but it's been awhile since I used it.
English

@rickpastoor I'm curious why the hero is rendered with canvas. The JS for it is one of the last things that load for me, but it's the first thing you see. In general I was getting quite slow loading performance, no throttling, ~40Mbps down right now.
English

@rickpastoor Nice dark mode btw! I did notice though that both PNGs for the screenshot get loaded regardless, at ~850 KB each. I think you should be able to solve this with a `picture` element. Example: #the_media_attribute" target="_blank" rel="nofollow noopener">developer.mozilla.org/en-US/docs/Web…
English

@christianreber Same. But opening another chat and then switching back fixes it for me usually.
English

@mattpocockuk I wouldn’t want to use a programming language that doesn’t have this tbh, which is unfortunately most of the popular languages.
English

@daveyheuser I haven’t actually used it yet, but these were my exact feelings when they showcased it. The current Photos app isn’t a UX marvel either imho 😅
English

Hard agree. Is this what it’s like to feel old?
Ilya · イリア@ilyamiskov
The UX of the new Photos app in iOS 18 is so incredibly bad I have no fucking clue what I’m doing and where to go.
English

@jlengstorf Wait till you notice the scrolling issues this thing has 😬. I cannot for the life of me understand why people love this thing. The form factor is pretty nice tho.
English

@noudadrichem Zou het voor een klein project zeker niet doen, maar ik overweeg het voor onze component library op het werk waar we nu SVG naar JSX converteren (veel overhead met createElement calls, en wordt niet altijd goed getreeshaked).
Nederlands

@timonvspronsen Ja dacht dus ook aan public.
Een edge function voelt overkill tho. Gebruik jij dat?
Nederlands

@mattpocockuk I inherited a codebase that makes heavy use of Redux Saga which makes me appreciate the power of generators. I would love to try Effect for backend code and the compatibility with TypeScript, which Saga is lacking imo.
English

@storybookjs This feature would be awesome when combined with composition. Could really help designers create stories to showcase patterns.
English

@storybookjs Nice! This makes me think of something I’m missing for our component library: we have components that take children (ReactNode), this currently shows up as an object which makes it impossible to try a component to its fullest extent (composition).

English

@kripod97 I can confirm that it's working for me in VS Code, but it doesn't in TS Playground or Stackblitz. How do you specify different behavior for different `as` values? It doesn't seem like the incoming props can be narrowed with this approach (?).
English

@timonvspronsen That’s pretty weird, as I couldn’t get the example to work on that playground, either – no matter what TSConfig options I’ve used 🤔
However, in a local IDE like VS Code, types are working without specifying the type parameter explicitly.
English

New article about type-safe polymorphism in React ⚛️
Addressing a long-standing performance issue within `@types/react` in the process, this took quite some time to write.
Let your peers know about getting the ‘as’ prop right 🔁
kripod.dev/blog/behind-th…
English

@derekkraan I'd never thought to use `srcdoc` for this, that's genius 🤯. I like how you've also made it a link, so that you can middle click to open it in a new tab. For me the YouTube video doesn't autoplay after clicking though, I'm using the latest version of Chrome on Mac.
English

@briankardell I figured you would know most of these :). I didn’t know about Igalia Chats yet, I will definitely give it a listen! Got any other recommendations?
English

@timonvspronsen Yeah I love several of these, Software Unscripted is new to me - will check it out, thanks! And I agree about Jake and Surma - in fact, we recently had them on our podcast, if you can't get enough :)
igalia.com/chats/otmt
English









