Lazy-Loaded Images - Code This, Not That

  Рет қаралды 89,601

Fireship

Fireship

Күн бұрын

Code this 💪, not that 💩. Learn how to use IntersectionObserver to lazy-load images efficiently in the browser without listening to the scroll event fireship.io/snippets/intersec...
API developer.mozilla.org/en-US/d...

Пікірлер: 241
@gerritweiermann79
@gerritweiermann79 5 жыл бұрын
Thanks for the new thing that will be stored in my head somewhere :D I really like the Code This Not That series. Please continue doing this!
@ArabianAK
@ArabianAK 5 жыл бұрын
Found your channel recently and I love it! Keep on keeping on.
@SprHero
@SprHero 5 жыл бұрын
I didn't know this existed. Thanks for the clear and to the point video! Looking forward to your next one 😉
@Fireship
@Fireship 5 жыл бұрын
Nice, it's one of my favs :)
@LOOTS243
@LOOTS243 5 жыл бұрын
@@Fireship easy thread gains 💪💪
@islamibrahim8121
@islamibrahim8121 2 жыл бұрын
Me too haha. I just watched the react one and this popped up. Quite the Gem too. I always avoided these flashy browser API because of support. Guess I'll be having fun with the observer and the polyfill
@ImperiumLibertas
@ImperiumLibertas 5 жыл бұрын
Absolutely outstanding quality. Thanks again Jeff!
@solifuse8079
@solifuse8079 2 жыл бұрын
Brilliant! I really needed this guide, really helped make my code become more efficient; in fact, this whole series "Code This Not That" is amazing!
@chriswindsor1417
@chriswindsor1417 5 жыл бұрын
Great video! Love this kind of content. You explain everything so effectively and timely.
@nicholassaephanh4407
@nicholassaephanh4407 5 жыл бұрын
Dude I haven't touched code in a while and you make me hyped up to code lol. This is SO good.
@isaacdiaby
@isaacdiaby 5 жыл бұрын
Fire ship🔥 actually love your videos, it gets to the point and just teaches you what you need to know. I needed this for my app, huge thanks man
@Fireship
@Fireship 5 жыл бұрын
Great to hear, thanks for watching!
5 жыл бұрын
Absolutely love all of our videos Jeff! Thanks for your hard work and thanks for being amazing.
@Fireship
@Fireship 5 жыл бұрын
Thank you Kevin :)
@salmanwap
@salmanwap 5 жыл бұрын
This is first time I am watching your video. And within 10 seconds I subscribed to your channel. I am coding that for a long time, now I am starting to code this not that. Thanks for the video.
@FinlayDaG33k
@FinlayDaG33k 5 жыл бұрын
This is a really nice thing that I did not consider myself yet. I've opened a ticket/issue on my own website repo so I'll have a look at it later again when the time is right. Keep up the good work!
@akashrajpurohit97
@akashrajpurohit97 5 жыл бұрын
I like this 'Code this, Not that' section alot.. keep em coming🙌
@kangqian8288
@kangqian8288 5 жыл бұрын
Always love your channel on angular typescript :)
@freeeedl
@freeeedl 5 жыл бұрын
Thx for all your stuff. I like your style and also listen to your voice ^^
@Blagel97
@Blagel97 5 жыл бұрын
Really thorough walkthrough! Love your vids man
@belahcenebenzaratahar5708
@belahcenebenzaratahar5708 5 жыл бұрын
Thank you for not wasting my time! short and yet covering it all.
@themindstorm9947
@themindstorm9947 5 жыл бұрын
Thanks for all these tutorials!
@markopantovic1865
@markopantovic1865 Жыл бұрын
This video is amazing mate! Thank you for this quality content. Keep it up!
@zeeshanmh215
@zeeshanmh215 5 жыл бұрын
Very clear and concise tutorial. Waiting for more like this 😍
@SamuelCamargo1000
@SamuelCamargo1000 5 жыл бұрын
Thanks for this subject. Added a lot to my dev repository knowledge.
@SurendraSinghChhabra
@SurendraSinghChhabra 5 жыл бұрын
Really short and simple video. Thanks !!
@RahulSingh-rr9hx
@RahulSingh-rr9hx 2 жыл бұрын
Thanks dude, for not making 20000000000mins long video with unnecessary explanation. Thanks for keeping it Lit 🔥🔥
@srukshan98
@srukshan98 5 жыл бұрын
This is awesome! Didn't know that it is that easy... Thank you for this amazing video
@mastercode7851
@mastercode7851 4 жыл бұрын
you are amazing , i would love a full project from you hopefully
@PaurakhSharma
@PaurakhSharma 5 жыл бұрын
Thank you for these amazing videos.
@didimedina4858
@didimedina4858 5 жыл бұрын
Wow this is great! Going to spend sometime tinkering with this and animejs this upcoming weekend :)
@jijinp1612
@jijinp1612 5 жыл бұрын
Short and Useful stuff. Thank A lot
@naga2054
@naga2054 5 жыл бұрын
Thanks Jeff as usual great video. My expectation from you is always #LearnWhatYouDontKnow 😍
@pb1431985
@pb1431985 5 жыл бұрын
Quick demo and useful information that can be implemented in any real life project
@adriandinca5682
@adriandinca5682 5 жыл бұрын
Thank so much for mentioning that quicklink library
@saadabbasi2063
@saadabbasi2063 5 жыл бұрын
I appreciate that you changed your videos thumbnail, seems like everybody started using similar to what you had previously. 😃
@Fireship
@Fireship 5 жыл бұрын
I know, I see that design everywhere now. This design is harder to copy :)
@danielsimionescu298
@danielsimionescu298 5 жыл бұрын
Thank you so much! Exactly what I was looking for 😄
@polinistinga1
@polinistinga1 5 жыл бұрын
Awesome work!
@The-Average-Gamer
@The-Average-Gamer 5 жыл бұрын
Awesome topic, please do more
@nasrmgk
@nasrmgk 5 жыл бұрын
Awesome channel with useful informations
@ashwinshenoy6360
@ashwinshenoy6360 5 жыл бұрын
Your firebase related stuff is really good.
@ezeeok
@ezeeok 5 жыл бұрын
Love this series!
@johnjoseph8294
@johnjoseph8294 5 жыл бұрын
Once again great tutorial. Hat off to you men!
@SoundFilmDesign
@SoundFilmDesign 5 жыл бұрын
Awesome video.. and awesome shirt!
@zidalo
@zidalo 5 жыл бұрын
Great video! I want that t-shirt!
@scottmccartney1518
@scottmccartney1518 5 жыл бұрын
Great video, been looking to implement Angular Material's scrolling soon!
@balajkhan9894
@balajkhan9894 5 жыл бұрын
Love your content to the point 👍
@firaskudsy
@firaskudsy 5 жыл бұрын
U keep posting amazing videos.. 🙌
@jensbienias1157
@jensbienias1157 5 жыл бұрын
This is so helpful. Thanks a lot!
@vysanthskurup4374
@vysanthskurup4374 5 жыл бұрын
Excellent explanation 👍
@idlevandal69
@idlevandal69 5 жыл бұрын
This is a game changer.. I usually avoid scrolling animations, not anymore!!!
@giancarlosisasi4137
@giancarlosisasi4137 5 жыл бұрын
Awesome video, thanks a lot!
@AungBaw
@AungBaw 5 жыл бұрын
Super crisp quality 🔥 fireship shirt yes!
@anawhite2562
@anawhite2562 4 жыл бұрын
Jeez, I think this is literally the first time I had to set speed at 0.75. Usually, I watch at 1.5 - 2. Still, thanks. Subscribed
@Fireship
@Fireship 4 жыл бұрын
Welcome to the channel!
@amirfawzy1147
@amirfawzy1147 5 жыл бұрын
first time to know that there's something called IntersectionObserver in javascript ... very good tip and efficient
@chellappanv2281
@chellappanv2281 5 жыл бұрын
Thanks for the great video!!!
@divinedela9125
@divinedela9125 5 жыл бұрын
Tnx Jeff.. great video as always
@nickstrands
@nickstrands 5 жыл бұрын
This is so useful to me right now !
@MyIvanch
@MyIvanch 5 жыл бұрын
I love your content !
@satajyotidhawa4937
@satajyotidhawa4937 5 жыл бұрын
Awsome video.its helps me to learn this new thing
@misopetrik
@misopetrik 2 жыл бұрын
Great video!
@vellendev
@vellendev 5 жыл бұрын
Great video thank you sir!
@elliotheath5366
@elliotheath5366 5 жыл бұрын
Good stuff, Jeff!
@karsongrady
@karsongrady 5 жыл бұрын
Thank you! Great video. I like the vanilla javascript videos
@Fireship
@Fireship 5 жыл бұрын
Thank you, I'll be making one of these every couple weeks.
@dwscheng
@dwscheng 5 жыл бұрын
Great content!!!
@FauzulChowdhury
@FauzulChowdhury 5 жыл бұрын
Hi Jeff, I have learnt so much from you and about angular and firebase. I was hoping if you could find your time to make a video on angular search engine crawlabilty and server side rendering technique? This would really boost my confidence. Thank you.
@just0for0adult
@just0for0adult 5 жыл бұрын
Thanks for the knowledge shared
@ZachInSpace
@ZachInSpace 5 жыл бұрын
Love it, thank you!
@ssikarim
@ssikarim Жыл бұрын
The video was very useful for me. thanks
@Shashank.Shinde
@Shashank.Shinde 5 жыл бұрын
I learned a lot firebase stuff from you
@sivuyilemagutywa5286
@sivuyilemagutywa5286 5 жыл бұрын
I don't know why I always press like before even watching your videos. Is it because your videos are short and straight to the point --> Yes Or clear and Clean --> Yes Or no unnecessary boilerplate --> Yes Or your content is unmatched --> Yes I guess I will never know
@giangonzaga4900
@giangonzaga4900 5 жыл бұрын
Wonderful thumbnail!
@natanfourie
@natanfourie 5 жыл бұрын
Nice to know this trick 🙂👌
@sourishdutta9600
@sourishdutta9600 4 жыл бұрын
This one is amazing!! Thanks man!! Can you please make one video that how we can preserve the scroll position of a page. Like in medium app it redirects us to that perticular position where we stop reading one article and very smooth transition was there how to achieve this in js and angular. Thanks a lot. You are awesome. Will be waiting for more.
@elmotareal
@elmotareal 5 жыл бұрын
Damn! Man! This was a "mic drop" quality video :)
@BytesAndBrackets
@BytesAndBrackets 5 жыл бұрын
Amazing.. never knew it before
@lj004
@lj004 5 жыл бұрын
Thanks as always!
@25isfunnierthan24
@25isfunnierthan24 5 жыл бұрын
Wow that's awesome! Didn't know that even existed
@thepotatokitty
@thepotatokitty 5 жыл бұрын
I was browsing through KZbin for some angular tutorials, found you... Best channel for the angular and firebase tutorial, coz ur video contains quality content not 💩 :-P
@joedyer1989
@joedyer1989 4 жыл бұрын
Awesome tut! I just wondered what the difference between/what's best to use - the unobserve or the disconnect method?
@amritgupta1792
@amritgupta1792 5 жыл бұрын
You guys are awesome
@mendisterenfeld2668
@mendisterenfeld2668 5 жыл бұрын
Great video.
@lutaseb
@lutaseb 5 жыл бұрын
did implement infinite scroll using the magical exaustMap() operator of rxjs, it worked like a charm, but did not have any images needing lazy loading or stuff. Thanks for your videos which just the best on youtube
@mateja176
@mateja176 5 жыл бұрын
Such an outstanding ambassador of JavaScript 👑
@divanvanbiljon7603
@divanvanbiljon7603 5 жыл бұрын
Awesome shirt!
@devangrojasara9080
@devangrojasara9080 5 жыл бұрын
Awesome Videos
@harshitjoshi3082
@harshitjoshi3082 5 жыл бұрын
The t shirt looks good !
@antlemec
@antlemec 5 жыл бұрын
finally understood what lazy loading is ...
@rithinprakash5045
@rithinprakash5045 5 жыл бұрын
Always sharp
@grAPPfruitMacroCraft
@grAPPfruitMacroCraft 5 жыл бұрын
Cool Video!
@bibibobs
@bibibobs 5 жыл бұрын
Yo, that tshirt is 🔥
@MercyFromOverwatch2
@MercyFromOverwatch2 2 жыл бұрын
Jeff is my favourite tech youtuber!
@monsieurBoutte
@monsieurBoutte 5 жыл бұрын
Beautiful
@solderon
@solderon 5 жыл бұрын
it 'll be great if you try to explain more each transition part in the video (not talking about thus one) btw you're my preferred angular channel on KZbin. and don't forget to send me da t-shirt :p
@boradmay
@boradmay 5 жыл бұрын
Very helpful. Just know this api.
@felixdorrschuck910
@felixdorrschuck910 5 жыл бұрын
Thanks alot!
@hectorr.cobian1020
@hectorr.cobian1020 5 жыл бұрын
Damn boi, thanks for the video
@r4t40
@r4t40 5 жыл бұрын
Nice job
@julianvogel499
@julianvogel499 5 жыл бұрын
Great Tutorial, learned a lot thanks=) But what about Background images? Is it possible to do it the same way with url? I mean, if I'm using a div for example and the Background Image is as an style element in it.... would that work?
@JefersonLimaAlmeida
@JefersonLimaAlmeida 5 жыл бұрын
Thank you, for the good video :)
@carlosalfredo657
@carlosalfredo657 5 жыл бұрын
Excellent
@brahim_boussadjra
@brahim_boussadjra 5 жыл бұрын
however i'm Vue js developer but i love your videos since they're of high quality
@AmanNidhi
@AmanNidhi 5 жыл бұрын
this are useful videos. thanks for creating it. Can you also create a playlist so that the videos are easily available and sequential order. This playlist might help help in understanding the nuance of javascript and web development
@Fireship
@Fireship 5 жыл бұрын
Thank you, yes I'll do that now that there are a few of them.
@abhik474
@abhik474 4 жыл бұрын
thanks for this
@UrielHK
@UrielHK 5 жыл бұрын
Amazing!
JavaScript Loops - Code This, Not That
8:36
Fireship
Рет қаралды 345 М.
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 1,7 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 39 МЛН
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 20 МЛН
RxJS Top Ten - Code This, Not That
14:44
Fireship
Рет қаралды 253 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 699 М.
Lazy loading is too easy now
16:05
Kevin Powell
Рет қаралды 146 М.
Water powered timers hidden in public restrooms
13:12
Steve Mould
Рет қаралды 731 М.
Learn Intersection Observer In 15 Minutes
15:32
Web Dev Simplified
Рет қаралды 326 М.
10 FORBIDDEN Sorting Algorithms
9:41
Ardens
Рет қаралды 830 М.
I built a JavaScript framework
10:11
Fireship
Рет қаралды 490 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,6 МЛН
80% of programmers are NOT happy… why?
4:43
Fireship
Рет қаралды 1 МЛН
JavaScript: How It's Made
10:54
Fireship
Рет қаралды 875 М.
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
iPhone 15 Pro Max vs IPhone Xs Max  troll face speed test
0:33