r/nextjs • • 13h ago

Are most devs sticking with Next.JS?

27 Upvotes

Hi everyone,

I’ve recently started learning TanStack Start, and it’s great, don’t get me wrong. However, there’s quite a bit of assembly involved. Next.js, on the other hand, seems pretty great to work with due to the many out-of-the-box features it provides.

How’s the mental model of working it with? According to the Stack overflow dev survey, this is one of top complaints.

How has your experience been with Next.js? What are some things you like or dislike about using it?

I’m retired so I mainly still code by hand mostly.


r/nextjs • • 2h ago

Next.js 16 moved caching to opt-in. What changed in your apps after upgrading?

3 Upvotes

Next.js 16 changes how caching works in the App Router. According to the docs, Cache Components are enabled with the cacheComponents flag, and caching is opt-in through the use cache directive. The existing fetch and unstable_cache caching still works as a separate layer while you migrate. The version 16 upgrade guide also says that dynamic, revalidate, and fetchCache route segment exports will error once Cache Components is enabled.

The part I find most worrying is the silent load change. Code that was fast because of implicit caching can start hitting the database on every request, and nothing in the code looks different. Tests can pass while query volume climbs.

For people who have already upgraded, I'd like to hear:

  1. Did you turn on Cache Components all at once or route by route, and what made you choose that approach?
  2. How did you catch query-count or latency regressions before production? Logging, load tests, or something else?
  3. Which cacheLife profiles and tags have worked well, and which ones did you change later?
  4. Did anything break in a way the upgrade guide didn't cover?