Comments (2)
I have this issue as well. So we build a wrapper around useFetch and if mounted, then fetch used? Why would this functionality not be built into useFetch?
from nuxt.js.
I get the same warning, and my site works fine in production (it's fully statically generated at the moment), and I currently don't have a real work around without using useAsyncData once mounted. I assume in my case it's calling useNuxtData once things are mounted, but I'm not entirely sure. I'm happy with whatever behavior is occurring from a performance perspective, but I wish there were a kosher way of doing it.
from nuxt.js.
Related Issues (20)
- Cannot read properties of undefined (reading 'replace') HOT 4
- protocol relative `cdnUrl` creates prerendering errors HOT 2
- cloudflare-pages does not generate static pages HOT 3
- SWR Cache saving headers HOT 3
- Nuxt $fetch throws exception when accessing API with subdomain HOT 4
- [SSG] Implement Route-Based Dynamic SEO Meta Tags in SSG HOT 5
- [Docs]: vue-tsc version are different in actual .md file and docs site HOT 1
- Creating new Nuxt 3 project results in multiple issues on Windows 10 HOT 2
- Change .env file does not update runtimeConfig HOT 1
- Route Groups not working HOT 2
- the unscoped css in a layout remains even after changing the layout in dev `nuxt dev` HOT 1
- useSeoMeta does not work anymore on dynamic link once the project is generated HOT 3
- Building Nuxt with compressPublicAssets fails when in a Bun docker container HOT 3
- `useRuntimeConfig()` convert all nullish values to empty strings HOT 1
- nuxi dev --inspect does not work with a custom port, only with the default port 9229
- &/ added before public files URL, causing file not found error HOT 1
- Scroll margin is ignored when navigating to anchors HOT 3
- Using showError after useAsyncData does not prevent page from loading, kinda HOT 3
- Module type augmentation conflict breaks types for `$config` property on `ComponentCustomProperties` on nightly release HOT 1
- First tRPC request always returns null inside onMounted HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt.js.