Next.js 16+ · Function
refresh
refresh updates the client router from inside a Server Action. Use it after changing data that the page reads without caching.
Last updated
- Since
- Next.js 16
Syntax
refresh(): voidIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Server Actionsrouter.refresh()next/cache