[Feedback] Support/Docs for Next.js v16 "Cache Components"

Aperta
#349 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@dferber90 ci sta già lavorando.

Dal 25/3/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

feedback

We have a Next.js site that currently is mostly statically rendered at build-time, and with an already fairly complex routing structure and proxy file, we're not interested in introducing more complexity via the precompute method this library provides.

Now that Next.js v16 is out and supports cache components (previously known as partial pre-rendering or PPR), it would be nice to have support for this alternate method of fetching flags in a static route.

We're considering loading flags on the client side at this time, as we can't see any functional difference to the end-user if an element pops into view via the server or a client fetch, aside from the fact that the server now has extra work to do, more costs for us etc. However this library, at least the Next.js adaptor, does not support the client side at all by default, which feels like a significant omission, especially before cache components were promoted to stable.

Lingua principale
TypeScript
Stelle
629
Fork
93
Merge medio
1g 15m
PR unite (30g)
25

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di vercel/flags

Tutte le issue di vercel/flags

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.