yceffort
15 POSTS

Nextjs 1

  • #pwa#caching#service-worker

    Saving Marp Slides from a Next.js App for Offline Use

    From running the existing Marp viewer offline to fixing what deployments, networks, and the presenter window exposed along the way.

    23 min read
  • #nextjs#react#debugging

    Pages You Leave Don't Die, They Hide: Next.js cacheComponents and React Activity

    Next.js 16's cacheComponents hides the pages you leave with React Activity instead of unmounting them. Following a three.js canvas that went blank after a back navigation, I read the router, React, and react-three-fiber source and reproduced it in a browser.

    34 min read
  • ◆ Service Worker Caching Deep Dive · Part 2
    #service-worker#caching#nextjs

    Applying Service Worker Caching: App Router Traps and GA4 Field Data

    Armed with the theory from Part 1, I made this blog (Next.js App Router) open offline. On the first deploy, the post I had just read would not open offline; on the second, posts opened but every image was broken. This is a chronicle of fixing, one deploy at a time, the traps created by soft navigation, prefetching, and next/image, and a record of settling the results with GA4 real-user data. Returning-visitor FCP improved by 634ms on average, while TTFB worsened by 525ms on average. The second post of the Service Worker Caching Deep Dive series.

    Updated 27 min read
  • #debugging#bundler#nextjs

    Next.js Turbopack Turned One Singleton into Two: A Scope Hoisting Bug and a Circular Import

    In a Next.js 16 Turbopack production build, a module-scope singleton became two live instances at runtime. Inside the same synchronous block, one condition contradicted the other, and responses that arrived in 30ms still timed out. This is the record of tracing the cause through the bundle output: a partial scope hoisting merge, a circular import, an upstream bug that had already been fixed, and the single-variable experiment I ran too late.

    16 min read
  • ◆ Directive Deep Dive · Part 3
    #react#nextjs#caching

    'use cache' Directive Deep Dive: To the End of Cache Boundaries

    Build-time transformations, cache key serialization, ResumeDataCache, cacheHandler, and Cache Components - everything created by a single 'use cache' line

    Updated 40 min read
  • ◆ Directive Deep Dive · Part 1
    #react#nextjs#bundler

    'use client' Directive Deep Dive: To the Edge of Client Boundaries

    Module boundaries created by a single line of 'use client', build-time transformations, Flight serialization, and performance implications

    33 min read
  • ◆ The State of Next.js · Part 5
    #nextjs#essay#serverless

    Why We Still Use Next.js

    Switching costs stronger than technical superiority

    Updated 19 min read
  • ◆ The State of Next.js · Part 4
    #nextjs#web-performance#react

    Is Next.js Fast Enough?

    The uncomfortable truth benchmarks reveal

    23 min read
  • ◆ The State of Next.js · Part 3
    #oss#react#software-engineering

    Whose React Is It?

    The questions React Foundation must answer

    21 min read
  • ◆ The State of Next.js · Part 2
    #nextjs#serverless#oss

    Why Cloudflare Rebuilt Next.js

    What question does vinext really ask?

    20 min read
  • ◆ The State of Next.js · Part 1
    #nextjs#serverless#backend

    The Rise and Fall of Next.js Edge Runtime

    Hey Edge Middleware, how have you been?

    13 min read
  • ◆ Directive Deep Dive · Part 2
    #react#nextjs#networking

    React Server Functions Deep Dive: To the End of "use server"

    What happens behind a single line of "use server"?

    26 min read
  • #nextjs#caching#web-performance

    A Guide to Next.js Caching

    Exploring the four cache layers of the Next.js App Router

    45 min read
  • #security#nextjs#react

    It's a React vulnerability, so why do I have to upgrade Next.js?

    CVE-2025-55182, CVE-2025-55184, CVE-2025-55183, and the React hidden inside Next.js

    19 min read
  • ◆ Web Service Performance Analysis · Part 3
    #web-performance#nextjs#react

    Web Service Performance Analysis (3)

    Thank you for your interest. 🙇🏻‍♂️

    29 min read