N
Nuxt8mo ago
K1nggor

Is it possible to disable Suspense in Nuxt 3?

Hi, I don't use Suspense in my project and don't need it. The <Suspense> is an experimental feature and its API will likely change. warning occurs in the runtime and in the tests making it worse to read. Is it possible to disable it in the entire project? I didn't find a config under nuxt config experimental key.
No description
4 Replies
manniL
manniL8mo ago
No, Suspense is part of how nuxt handles routing. You could either patch vue or the logging function.
K1nggor
K1nggorOP8mo ago
How can I patch the logging function ?
manniL
manniL8mo ago
you can try out the warn handler of vue
manniL
manniL8mo ago
Vue.js
Vue.js - The Progressive JavaScript Framework
Want results from more Discord servers?
Add your server