Describe the feature
The current implementation of usePreviewMode automatically calls refreshNuxtData() when enabling preview mode, as well as binding a useRouter.afterEach(() => refreshNuxtData()) callback that fires on the next route change.
For apps that do not utilize SSG, or apps that desire custom enable/disable setup or cleanup tasks, the linked PR allows passing in two new callbacks to the composable's options.
I've submitted the functionality as a new PR: #28371
Additional information
Final checks