mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This removes the `routerBfCache` and enables it automatically when `cacheComponents` is enabled. This leverages `React.Activity` on layout segments to support restoring previously visited UI segments while preserving state.
9 lines
122 B
JavaScript
9 lines
122 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
cacheComponents: true,
|
|
}
|
|
|
|
module.exports = nextConfig
|