Here we are, a few years later, and it seems to be abandoned.
@korkut319 ай бұрын
u are using bem WRONG.
@Blue-kv8pj10 ай бұрын
Nice vid, but how to do side scrolling>?
@dinmukhammedpernekhan7592 Жыл бұрын
This is exactly what i was looking for. BIG W man, thanks a lot
@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 Жыл бұрын
6:21 is wrong
@erinkahn4228 Жыл бұрын
It doesn't work for me :/
@despacitodaniel801 Жыл бұрын
Hecc yea bro. No libraries needed
@RelaxingMusic-ey3bu Жыл бұрын
I was looking for this one, thanks !
@chaitanyashahare2734 Жыл бұрын
The intro was epic XD paused the video to comment
@mohanadalhiti4300 Жыл бұрын
Thank you 👍
@SuswanaJoel11 ай бұрын
Bem
@SuswanaJoel11 ай бұрын
Him
@highroller9154 Жыл бұрын
Hands down one of the best tutorials I'ver seen for Parallax
@santiagoespitia5300 Жыл бұрын
Hi, hope you are doing well. I have a question, how can I set up my vsc to behave like vim?
@codingamer3732 жыл бұрын
is Recoil a compatible choice for a Next 13 project?
@muneugi39002 жыл бұрын
Hi requesting for a refresher on Recoil in 2022 together with use cases
@saalim242 жыл бұрын
Why the %y doesn’t yank everything to other apps?
@dijup2 жыл бұрын
can we use react query to fetch the data
@dijup2 жыл бұрын
while fetching data from server can we use react-query to get the data
@faridoudray68552 жыл бұрын
Thanks for the video, You can use onScroll instead of eventListener to handle scrolling
@showingsoftwarebugs59632 жыл бұрын
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.
@afickredox41212 жыл бұрын
great explanation
@chris94kennedy2 жыл бұрын
Thanks for this. It's exactly what I want, a simple React way to do parallax without libraries
@ms77grz2 жыл бұрын
👍👍
@jason-yb9qk2 жыл бұрын
hei guys can someone explain to me when he said "when the components get unmounted" I'm a bit confused thanks
@quintonpangyixuan39902 жыл бұрын
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!
@quintonpangyixuan39902 жыл бұрын
Btw i have made one too although it is quite simple lol, feel free to check it out: kzbin.info/www/bejne/mKaUl4OVgc91fqc
@jason-yb9qk2 жыл бұрын
@@quintonpangyixuan3990 thanks, it helps a lot!
@alexanderthomson20862 жыл бұрын
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
@patricknelson2 жыл бұрын
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? 🤔
@spondoolie64502 жыл бұрын
Hours of searching paid off big time! This video is pure gold my brutha... just shared it in Discord
@quintonpangyixuan39902 жыл бұрын
Ikr it's quite good, i have made one too hehekzbin.info/www/bejne/mKaUl4OVgc91fqc
@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); }, []);
@quintonpangyixuan39902 жыл бұрын
Hmmm great tip! Thanks!
@quintonpangyixuan39902 жыл бұрын
Btw i made one too how u think about it?kzbin.info/www/bejne/mKaUl4OVgc91fqc
@piskanaft2 жыл бұрын
it's still impossible to exit vim
@viktrix15042 жыл бұрын
Awesome explanation, simple and straight to the point.
@muhammadzaakirmungrue31462 жыл бұрын
Thanks, this video is the reason why I feel like cheating when I use react-spring to implement animations.
@elg2812 жыл бұрын
Hey you're right I didn't learn thank you
@SuperAdilMorocco2 жыл бұрын
nice video ever
@RubberDuckCoding2 жыл бұрын
VERY NICE!
@RubberDuckCoding2 жыл бұрын
My like button turned black, not blue... I think I pressed it too hard
@tanvirkhan12 жыл бұрын
This was really helpful man. No BS. Straight to the point.
@ReadTheCommentFirst2 жыл бұрын
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).
@gilbertorogel812 жыл бұрын
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?
@joekavac58592 жыл бұрын
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
@gilbertorogel812 жыл бұрын
@@joekavac5859 gracias amigo, it works now :) <3
@kroloskar3 жыл бұрын
Thank you for great tutorial! Would be nice if you made one with all the advanced features...
@sylviamakuch57543 жыл бұрын
Awesome ♥️
@m1akarov4423 жыл бұрын
Thanks for the great tutorial!
@roseuwaezuoke76163 жыл бұрын
Thanks
@dorpeled47683 жыл бұрын
Great video, thanks for that.
@peterballa60603 жыл бұрын
How a great video thank you! Well explained!
@Spartacus693 жыл бұрын
I need this pinned to my home screen. I didn't know DD put the line into the clipboard
@alebuda1173 жыл бұрын
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
@6little6fang63 жыл бұрын
This is video right here, amazing.
@ayushman_sinhaa3 жыл бұрын
This is one of the greatest tutorial I've ever seen. You explain everything so well that Even a newbie can understand everything....
@khairislama87213 жыл бұрын
the best way to present a tutorial, it saves you a lot of time. Thank you so much