BitlystBitlyst
PostsSeriesTopicsAbout

Bitlyst

Short, diagram-first posts on JavaScript, React & Next.js. Follow via RSS or the newsletter.

© 2026 Mohsen Fallahnejad

PostsSeriesTopicsLinksAboutRSSGitHubX
← All series

Series

Next.js Field Notes

Tricks and traps from shipping Next.js App Router apps in production.

Your guide: Scout. Takes notes in production so you don't have to.

3 of 5 parts published · 15 min total

0/3 read
Start reading: Part 1 →
  1. 1One Line in My Root Layout Turned 158 Static Pages Into 0Reading a cookie with cookies() in the Next.js root layout opts every route out of static rendering. What it cost this blog, measured, and how to fix a theme flash without it.
    Nov 1, 20267 min read3
  2. 2The Server Action That Ran Twice, but Only on localhostWhy a Next.js Server Action called from useEffect runs twice in development: React Strict Mode mounts every component twice. What that reveals, and where the call belongs.
    Nov 3, 20264 min read
  3. 3Scrolling My Blog Index Prefetched All 51 Posts. One Config Line Cut It to 90 kB.What a long list of Next.js <Link>s really costs in prefetch requests, measured on this blog, and how partialPrefetching shares one App Shell per route instead.
    Nov 3, 20264 min read
  4. 4The redirect() that a try/catch swallowedComing soon
  5. 5The useSearchParams call that blanked half the page in the HTMLComing soon

Get new posts in your inbox

No spam. Unsubscribe any time.