Комментарии:
Your explanation is so much better than the one in the documentation. Thank you for this great video!
Ответитьtrying to figure out how to do this for hours. Didn't realize you could just throw a callback into ref prop
ОтветитьDamn ... Dude, thanks man, I've being looking for this method for a bit longer then I supposed. Bless you!
ОтветитьIm a beginner and it helped me to animate several elements simultaneously respecting the logic of React. Thank you so munch from France !
Ответитьhow would I trigger a child function from the parent using the `useImperativeHandle()` hook?
Now that the ref is an Array, i assumed it would be something like
revealRefs.current[0].myChildFunctionOne()
but with no luck
Thank you for this. It's really helpful.
Ответитьit's the most power tutorial
ОтветитьDo you have a full GSAP course with react?
ОтветитьThanks!! Great explanation, super helpful
ОтветитьYou're a lifesaver, thanks a million !
ОтветитьСпасибо!
ОтветитьThanks!!!
ОтветитьThankyou! you made it simple and short.
Ответитьi wanna make a basic list: it will take parameter from an array like list=["name", "surname"]. i wanna put a "-" sign front them they will look like -name -surname when i hover them how can animate them. it is very easy with vanilla js but icadt do it with react. can u help me please
Ответитьsuper method!
ОтветитьThanks for the video, I was able to implement a functionality to scroll to individaul section on the screen using this
ОтветитьThis is exactly what I was looking for! thank you very much!
ОтветитьThank you so much for the vid! Had to remove the ref.current = [] part since it was reassigning current on every render, but this is so super helpful, have been trying to recreate boostrap dropdown and this is exactly what's needed to get those pesky offsets for each list item. Cheers!
ОтветитьNICE EXAMPLE, THANKS
ОтветитьIt helps a lot! thank you so much!
ОтветитьMy array ref on render is empty
ОтветитьAwesome! Help to fix my bug
Ответитьi hate tomatoes too but pretend to like them when i eat burgers because of spongebob
ОтветитьThanks, very helpful!
ОтветитьThanks a lot !
ОтветитьHey ! That was some helpful tutorial to design a whole section with scroll. but if you can let me know how to target the h1, title tags seprately in the section , My case is the background color remains static the image and the title tag changes as we scroll , it changes horizontally , if we scroll
Thanks
Nice! I was juuust looking how to make arrays of refs while implementing gsap scrolltriggers, thank you! °D°
ОтветитьAre you kidding me? I was trying this for the past week and could not make it work. I'm using FullpageJS and wanted to have same animation on every section for my elements but react was always throwing me some kind of error. In the end I was using FullpageJS function when a section is loaded but this is what I wanted at the begging. You are my hero.
ОтветитьWhat is the main purpose of using this technique? Thanks for the vid by the way!:D
Ответить