No video

Preloading images in Nuxt 3 -

  Рет қаралды 12,482

cdruc

cdruc

Күн бұрын

Eliminate glitches by preloading images. Make sure to not over do it though.

Пікірлер: 20
@jaker9007
@jaker9007 Жыл бұрын
I can also suggest replacing v-if with v-show. That way, images will be loaded on background, since, with v-show the DOM is actually rendered, just not shown.
@nclsDesign
@nclsDesign 4 күн бұрын
Skeleton loader is the magic balance between no glitching and no unnecessary network traffic.
@bringbackwindowsphone
@bringbackwindowsphone 6 ай бұрын
Always specify height/width on images too where possible so browsers can prevent CLS
@djenntt
@djenntt Ай бұрын
You can also keep things performant and load the image when the user hovers, and if the image is a smaller size, it will definitely load before the user decides to click. If you are worried about it still glitching, you can preset the determined ratio based on the image in the modal. So if it does not show immediately, the modal won't resize on the user.
@yongdev
@yongdev 9 ай бұрын
how about dynamic images
@HAYDERNAJJAR
@HAYDERNAJJAR 10 күн бұрын
i face an issue that after create new product and i wanna to edit after click save all old images gone
@vodacbao
@vodacbao Ай бұрын
@piotrjasiulewicz408
@piotrjasiulewicz408 Жыл бұрын
good video, keep it up
@chaderenyore1748
@chaderenyore1748 Ай бұрын
It doesn't work when deployed to netlify
@nguyentrunghau8441
@nguyentrunghau8441 11 ай бұрын
With Data from API. You can't using with this ??. It only work with image Static image
@ohiduzzaman_siam
@ohiduzzaman_siam 8 ай бұрын
which theme are you using in Webstorm?
@nested9301
@nested9301 11 ай бұрын
is this will effect initial load performance ?
@cdruc
@cdruc 11 ай бұрын
yes, there's an initial load cost - otherwise we'd preload everything 😅
@Rimtay
@Rimtay 6 ай бұрын
Can’t it be lazy preload? With this method in case they do not click the links as soon as the page loads no glitch will appear and initial page load won’t get affected
@TalhaBalaj
@TalhaBalaj 6 ай бұрын
What font
@jegedeayodeji3306
@jegedeayodeji3306 Жыл бұрын
Can this be replicated with just vue 3 ?
@cdruc
@cdruc Жыл бұрын
Hey, yes! you can with: unhead.unjs.io/setup/vue/installation Btw, this is the exact same package Nuxt 3 uses under the hood 😃
@jegedeayodeji3306
@jegedeayodeji3306 Жыл бұрын
@@cdruc oh brilliant! Thank you 🙏🏽
@j0of
@j0of 11 ай бұрын
what ide?
@cdruc
@cdruc 11 ай бұрын
webstorm
Vuetify 3 + Nuxt 3 : Vue.js Will Never Be The Same
13:02
Program With Erik
Рет қаралды 45 М.
A Better Way To Handle Vue Props?
6:02
John Komarnicki
Рет қаралды 5 М.
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 37 МЛН
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 32 МЛН
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 13 МЛН
Image Optimization with Nuxt Image + Storyblok
5:02
LearnVue
Рет қаралды 16 М.
Nuxt 3 - environment variables
8:36
cdruc
Рет қаралды 5 М.
Why you should use useState()
17:57
Alexander Lichter
Рет қаралды 16 М.
Nuxt Explained
8:33
Awesome
Рет қаралды 27 М.
Images, assets & public folder with Nuxt 3 - Course part 5
10:48
Codewithguillaume
Рет қаралды 17 М.
My Experience With Nuxt 3
18:14
Joseph Montanez
Рет қаралды 3,9 М.
Data Fetching With Nuxt 3
20:31
John Komarnicki
Рет қаралды 32 М.
Nuxt UI - The Best UI Library for Nuxt 3?
17:28
Jahid Anowar
Рет қаралды 12 М.
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Ben Davis
Рет қаралды 15 М.
Nuxt in 100 Seconds
2:50
Fireship
Рет қаралды 562 М.
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН