#anyway to remove these network calls?
22 messages · Page 1 of 1 (latest)
So what command should I run to hide those network calls in the development mode using yarn?
Those are JavaScript needed in development, they need to happen
You can run your app in preview mode, which is very similar to production but locally
Yarn preview
then also I could see above network calls
In the demos I could see no network calls at the initial load in dev mode
Which app is this? It’s likely some event you have in the app, is it using a Link?
The link component will prefetch some js, so by the time of clicking it will be already downloaded
Does not mean that Qwik is running it
Think a lot of@it like streaming of video
Qwik is downloading paths of interaction before you click it, but not executing until it actually happens
Also! Id you see the data is being already cached by the built in service worker
So it’s already not being a network request
It all happen offline
I selected the basic app as the starter and run it after yarn was installed. As in the demos, I thought it would be empty requests in the initial load after I inverted the vite
Thanks got it. had to remove unwanted code at the first place