Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #20987

L

Laurent Renard

Personal blog · lorenzofox.devprogrammingweb

Laurent Renard's personal blog at lorenzofox.dev covers programming and web. Since 2024, 3 different Hacker News readers have linked it 4 times, most often “Coroutines in JavaScript for web components”. It is still writing: the last post was on 2025-03-11, and you can follow it by feed.

Visit the blog
4mentions?
3HN people?
2024–2025first – last linked?
Links on Hacker News per year · peak 3 in 2024

Too few sampled comments (2) to say how often HN recommends it.?

Why HN links it

Posts on generator and coroutine patterns for JavaScript, applied to UI rendering and web component lifecycles. Commenters link them as an alternative to async/await-style component code.

Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

home page of Laurent RENARD's blog

Most-linked posts?

  1. Coroutines in JavaScript for web components
    2 people · 2 mentions · first linked 2024-03-05

What Hacker News says?

  1. dleeftink · 2025-04-19Recommends
    I find the coroutine/generator approach described in a series of posts by Lorenzo Fox/Laurent Renard to be a promising alternative[0]. It takes a little to wrap your head around, but essentially structures component rendering to follow the natural lifecycle of a generator function that takes as input the state of a previous yield, and can be automatically cleaned up by calling `finally` (you can observe to co-routin…

    Comment linking /posts/component-as-infinite-loop/

    on “JavaScript Views, the Hard Way – A Pattern for Writing UI”
  2. Submitted Coroutines in JavaScript for web components as a story · 94 points

    HN discussion
  3. Although I tend to mostly use async/await these days, I find the other JavaScript asynchronous primitives interesting. Generator functions, iterables, and async versions of the two. The author shows a plausible way to put these primitives together to create coroutines powering rendering and lifecycles for web components. And although I'm pretty familiar with the syntax involved, I still learned some new ways to put…

    Comment linking /posts/coroutine/

    on “Coroutines in JavaScript for web components”
  4. Submitted Coroutines and Web Components as a story · 3 points

    HN discussion

Search all of HN for lorenzofox.dev