What Changes with Nuxt4’s Singleton Data Fetching Layer?
summary
Nuxt 4 introduces a Singleton Data Fetching Layer that replaces ad-hoc useFetch/useAsyncData by sharing ref instances to prevent duplicate requests for the same key. It adds reactive (computed) keys that auto-refetch, expands getCache hooks for per-request cache strategies, and uses reference counting for automatic cleanup to reduce memory use, with implementation roots in Nuxt 3.17.2 and measurable performance/memory gains.
AI-written summary · about
