Пікірлер
@TheDorac1
@TheDorac1 6 ай бұрын
Here we are, a few years later, and it seems to be abandoned.
@korkut31
@korkut31 9 ай бұрын
u are using bem WRONG.
@Blue-kv8pj
@Blue-kv8pj 10 ай бұрын
Nice vid, but how to do side scrolling>?
@dinmukhammedpernekhan7592
@dinmukhammedpernekhan7592 Жыл бұрын
This is exactly what i was looking for. BIG W man, thanks a lot
@korkut31
@korkut31 Жыл бұрын
wrong. what u told is wrong. this is not BEM. there is nothing in BEM like x__y__z. this is wrong.
@yogesh-yadav
@yogesh-yadav Жыл бұрын
6:21 is wrong
@erinkahn4228
@erinkahn4228 Жыл бұрын
It doesn't work for me :/
@despacitodaniel801
@despacitodaniel801 Жыл бұрын
Hecc yea bro. No libraries needed
@RelaxingMusic-ey3bu
@RelaxingMusic-ey3bu Жыл бұрын
I was looking for this one, thanks !
@chaitanyashahare2734
@chaitanyashahare2734 Жыл бұрын
The intro was epic XD paused the video to comment
@mohanadalhiti4300
@mohanadalhiti4300 Жыл бұрын
Thank you 👍
@SuswanaJoel
@SuswanaJoel 11 ай бұрын
Bem
@SuswanaJoel
@SuswanaJoel 11 ай бұрын
Him
@highroller9154
@highroller9154 Жыл бұрын
Hands down one of the best tutorials I'ver seen for Parallax
@santiagoespitia5300
@santiagoespitia5300 Жыл бұрын
Hi, hope you are doing well. I have a question, how can I set up my vsc to behave like vim?
@codingamer373
@codingamer373 2 жыл бұрын
is Recoil a compatible choice for a Next 13 project?
@muneugi3900
@muneugi3900 2 жыл бұрын
Hi requesting for a refresher on Recoil in 2022 together with use cases
@saalim24
@saalim24 2 жыл бұрын
Why the %y doesn’t yank everything to other apps?
@dijup
@dijup 2 жыл бұрын
can we use react query to fetch the data
@dijup
@dijup 2 жыл бұрын
while fetching data from server can we use react-query to get the data
@faridoudray6855
@faridoudray6855 2 жыл бұрын
Thanks for the video, You can use onScroll instead of eventListener to handle scrolling
@showingsoftwarebugs5963
@showingsoftwarebugs5963 2 жыл бұрын
Thanks. I was watching a previous video and they only showed atoms and it immediately gave me a bad first impression for the exact reason you showed at 4:42. Thanks for including the selectors in this tutorial.
@afickredox4121
@afickredox4121 2 жыл бұрын
great explanation
@chris94kennedy
@chris94kennedy 2 жыл бұрын
Thanks for this. It's exactly what I want, a simple React way to do parallax without libraries
@ms77grz
@ms77grz 2 жыл бұрын
👍👍
@jason-yb9qk
@jason-yb9qk 2 жыл бұрын
hei guys can someone explain to me when he said "when the components get unmounted" I'm a bit confused thanks
@quintonpangyixuan3990
@quintonpangyixuan3990 2 жыл бұрын
It means when the component is removed. For example, you have a website that is currently displaying home page. Then when u navigate to another page, home page is UNMOUNTED. Hope this helps you!
@quintonpangyixuan3990
@quintonpangyixuan3990 2 жыл бұрын
Btw i have made one too although it is quite simple lol, feel free to check it out: kzbin.info/www/bejne/mKaUl4OVgc91fqc
@jason-yb9qk
@jason-yb9qk 2 жыл бұрын
@@quintonpangyixuan3990 thanks, it helps a lot!
@alexanderthomson2086
@alexanderthomson2086 2 жыл бұрын
Better toturials than other 15 minutes long video explaining what is vim use case, thanks for this video! helped me saved a lot of time by just pointing out to the topic instead of talking nonsense for 10 min
@patricknelson
@patricknelson 2 жыл бұрын
6:00 - I’m with you 100% on BEM for the stated reasons, but curious: Earlier you mentioned ability to Ctrl+F the codebase to find the class. One issue I’ve encountered with using Sass & prefixes is that it gets in the way of this typically. Do you have a process for that or do you just failover to the manual search (i.e. It’s a “Card” so at least you know where to look) or should you just scrap & prefixes all together in order to preserve searchability? 🤔
@spondoolie6450
@spondoolie6450 2 жыл бұрын
Hours of searching paid off big time! This video is pure gold my brutha... just shared it in Discord
@quintonpangyixuan3990
@quintonpangyixuan3990 2 жыл бұрын
Ikr it's quite good, i have made one too hehekzbin.info/www/bejne/mKaUl4OVgc91fqc
@hruuuuu.
@hruuuuu. 2 жыл бұрын
add { passive: true } to make the movement smoother! (just found out) useEffect(() => { window.addEventListener('scroll', handleScroll, { passive: true }); return () => window.removeEventListener('scroll', handleScroll); }, []);
@quintonpangyixuan3990
@quintonpangyixuan3990 2 жыл бұрын
Hmmm great tip! Thanks!
@quintonpangyixuan3990
@quintonpangyixuan3990 2 жыл бұрын
Btw i made one too how u think about it?kzbin.info/www/bejne/mKaUl4OVgc91fqc
@piskanaft
@piskanaft 2 жыл бұрын
it's still impossible to exit vim
@viktrix1504
@viktrix1504 2 жыл бұрын
Awesome explanation, simple and straight to the point.
@muhammadzaakirmungrue3146
@muhammadzaakirmungrue3146 2 жыл бұрын
Thanks, this video is the reason why I feel like cheating when I use react-spring to implement animations.
@elg281
@elg281 2 жыл бұрын
Hey you're right I didn't learn thank you
@SuperAdilMorocco
@SuperAdilMorocco 2 жыл бұрын
nice video ever
@RubberDuckCoding
@RubberDuckCoding 2 жыл бұрын
VERY NICE!
@RubberDuckCoding
@RubberDuckCoding 2 жыл бұрын
My like button turned black, not blue... I think I pressed it too hard
@tanvirkhan1
@tanvirkhan1 2 жыл бұрын
This was really helpful man. No BS. Straight to the point.
@ReadTheCommentFirst
@ReadTheCommentFirst 2 жыл бұрын
This is a great tutorial that helped me understand how parallax works. Only issue with it is that translation of elements will continue even when they are off-screen. I think a better approach might be to only apply the styles if the element is in the viewport (using intersection observer maybe) . You could also use Math.min() to remedy it a bit. This line for example would stop translating after 300px translation has occurred. transform: `translate3d(${Math.min(offsetY * 0.8, 300)}px, 0px, 0px).
@gilbertorogel81
@gilbertorogel81 2 жыл бұрын
Not working for me :( and im getting this warning: React Hook useEffect has a missing dependency: 'handleScroll'. Either include it or remove the dependency array react-hooks/exhaustive-deps any idea whats goin on?
@joekavac5859
@joekavac5859 2 жыл бұрын
Move the *handleScroll* function inside of the useEffect, then add the *offsetY* state into the square brackets (the second argument of useEffect). It should both work and clear the warnings
@gilbertorogel81
@gilbertorogel81 2 жыл бұрын
@@joekavac5859 gracias amigo, it works now :) <3
@kroloskar
@kroloskar 3 жыл бұрын
Thank you for great tutorial! Would be nice if you made one with all the advanced features...
@sylviamakuch5754
@sylviamakuch5754 3 жыл бұрын
Awesome ♥️
@m1akarov442
@m1akarov442 3 жыл бұрын
Thanks for the great tutorial!
@roseuwaezuoke7616
@roseuwaezuoke7616 3 жыл бұрын
Thanks
@dorpeled4768
@dorpeled4768 3 жыл бұрын
Great video, thanks for that.
@peterballa6060
@peterballa6060 3 жыл бұрын
How a great video thank you! Well explained!
@Spartacus69
@Spartacus69 3 жыл бұрын
I need this pinned to my home screen. I didn't know DD put the line into the clipboard
@alebuda117
@alebuda117 3 жыл бұрын
omg u make it feels so easy!! i was using locomotive for this kind of parallax effect, but was not clear for me...this is more intuitive! thanks a lot
@6little6fang6
@6little6fang6 3 жыл бұрын
This is video right here, amazing.
@ayushman_sinhaa
@ayushman_sinhaa 3 жыл бұрын
This is one of the greatest tutorial I've ever seen. You explain everything so well that Even a newbie can understand everything....
@khairislama8721
@khairislama8721 3 жыл бұрын
the best way to present a tutorial, it saves you a lot of time. Thank you so much
@adilismail3593
@adilismail3593 3 жыл бұрын
Wat about performance
@dawid_dahl
@dawid_dahl 3 жыл бұрын
Perfect.