Smooth Page Transitions with React Router and Framer Motion

แชร์
ฝัง

ความคิดเห็น • 49

  • @MrSgtwo
    @MrSgtwo 2 ปีที่แล้ว +3

    Awesome man, your explanation is very clear and straight forward!

  • @justincrediblemoments
    @justincrediblemoments ปีที่แล้ว

    Great video! Just picked up learning about Framer and wanted to know how to do these page transitions. As a junior dev, I try my best to avoid copy/paste examples online, so I can really understand everything that's happening under the hood. You did an AMAZING job explaining the concept, and the icing on the cake is that it took you less than 6 minutes. You just landed yourself a new subscriber lol

  • @maryammoshtoufar7884
    @maryammoshtoufar7884 2 ปีที่แล้ว

    You are an angel sent from above bro. I've been struggling with router transition group for hours and reading a lot of documentation and still couldn't make it work in router v6. You saved me from that hell so Thank YOU 🙏🙏🙏🙏

  • @emilygarcia2094
    @emilygarcia2094 ปีที่แล้ว

    I liked how you made it a component and wrapped a child. It worked very well on my project.

  • @afickredox4121
    @afickredox4121 2 ปีที่แล้ว

    dude wtf, u just save my time, so simple and make my page more awesome, thanks man.. bless u

  • @zey-
    @zey- ปีที่แล้ว

    straight to the point and even a link to the code. AMAZING! thank u

  • @cedricrabarijohn6035
    @cedricrabarijohn6035 3 หลายเดือนก่อน

    Straight to the point, perfect tutorial thanks !

  • @ozzyfromspace
    @ozzyfromspace 2 ปีที่แล้ว +10

    You the man, Lester! Thanks for making this video, your explanation just saved me from a horrible copy-paste experience haha. Best wishes my guy ☮️

  • @antonengineer1594
    @antonengineer1594 2 ปีที่แล้ว +1

    It looks so cool, thanks

  • @omaraljoundi9583
    @omaraljoundi9583 2 ปีที่แล้ว

    Amazing short tutorial.. keep it up, man!

  • @denmccormik7654
    @denmccormik7654 2 ปีที่แล้ว +1

    That was very useful, thank you!

  • @petrkulakov3194
    @petrkulakov3194 2 ปีที่แล้ว +1

    Just brilliant, thanks bro

  • @DjangoElRey
    @DjangoElRey 2 ปีที่แล้ว +1

    Greatly explained! 🙏😎

  • @NANAPATY
    @NANAPATY 2 ปีที่แล้ว

    Thanks, This tutorial helped me for my project. Very well explained

  • @MrREALball
    @MrREALball 2 ปีที่แล้ว +2

    Thanks for the tutorial. That helped me a lot, I tried using react-spring and react-transition-group with react-router v6 but both had some weird issues that probably could be resolved, but I didn't have time to deal with all that.
    That tutorial saved me a lot of time and effort, would remember to use framer-motion whenever possible from now on.

    • @LesterFernandezIO
      @LesterFernandezIO  2 ปีที่แล้ว

      No problem! And yea I agree framer motion is more intuitive

  • @devashishpujari
    @devashishpujari ปีที่แล้ว

    Awesome it is. Learnt a new thing

  • @antonboio
    @antonboio 2 ปีที่แล้ว +1

    Awesome!

  • @harmanmuhammad3696
    @harmanmuhammad3696 ปีที่แล้ว

    Well done Thanks!

  • @user-vm7gg1to5v
    @user-vm7gg1to5v ปีที่แล้ว

    Its Great. Thank you so much!

  • @eliuddyn
    @eliuddyn 2 ปีที่แล้ว +1

    Great 🔥🔥

  • @nobrainer1923
    @nobrainer1923 2 ปีที่แล้ว

    your codes are so clean bro wtf

  • @vincenzocristiano135
    @vincenzocristiano135 ปีที่แล้ว

    thanks legend!

  • @JoaoMarcosDev
    @JoaoMarcosDev 2 ปีที่แล้ว +2

    Great explanation brother, helped a lot.

  • @mikaelsundstrom4789
    @mikaelsundstrom4789 2 ปีที่แล้ว

    Thank you!

  • @divine203
    @divine203 2 ปีที่แล้ว +1

    Amazing tutorial, simple and straight to d point, i just want to know what color theme are you using in your ide

  • @yotsusan_machi
    @yotsusan_machi ปีที่แล้ว

    thanks kyu master for the tutorial

  • @mohamedyoussef8835
    @mohamedyoussef8835 ปีที่แล้ว

    Thanks for the tutorial ++++++++++ 😃

  • @RBBoxing
    @RBBoxing 2 ปีที่แล้ว

    отличное видео, благодарю за помощь , react router transition animation

  • @German-zq7gc
    @German-zq7gc 2 ปีที่แล้ว

    TTHANKS BRO

  • @s1art7-vu5pl
    @s1art7-vu5pl ปีที่แล้ว

    simple and ez, thx bro
    rraaaa

  • @denmccormik7654
    @denmccormik7654 2 ปีที่แล้ว

    and the last question - when I do the same - the next component jumps from bottom when current unmounts? maybe you know how to fix this

  • @alejandrogermosen5764
    @alejandrogermosen5764 4 หลายเดือนก่อน

    You need more likes

  • @typicallunchbox6934
    @typicallunchbox6934 ปีที่แล้ว

    Thank you so much for this video. You helped solved my issue of getting "useLocation() may be used only in the context of a ". Solving the issue by putting the BrowserRouter under index.js and wrapping the . Then everything under App.js should work perfect.

    • @felipeolguera
      @felipeolguera 5 หลายเดือนก่อน

      hi, can you explain more pls. been looking for a solution on this

    • @VJL0
      @VJL0 3 หลายเดือนก่อน

      @@felipeolguera On your main file, where the root is, do this


      then in your app component, it should return something like this:

  • @krasus7903
    @krasus7903 2 ปีที่แล้ว

    DUDE I LOVE YOU SO FUCKING MUCH HOUR OF PAIN CAME TO AN END

  • @danielddungu
    @danielddungu 2 ปีที่แล้ว

    Hello Lester, thank you for the tutorial but I have an issue whenever I put AnimatePresence everything disappears on-site which could be a challenge.

    • @foreverYogiii
      @foreverYogiii 2 ปีที่แล้ว

      you have to check the console and figure out what the problem is . make sure u have it installed

  • @MrUltimateX
    @MrUltimateX 2 ปีที่แล้ว +4

    Keyboard specs? Those are some sweet sounding switches

    • @LesterFernandezIO
      @LesterFernandezIO  2 ปีที่แล้ว +4

      GMMK Pro keyboard with Everglide Aqua King switches (55g) and Glorious Aura keycaps

  • @wenhaoyan1003
    @wenhaoyan1003 ปีที่แล้ว

    Why is it needed to specify `location` prop for ? According to the FramerMotion docs, I believe `key` is the only thing needed to let FramerMotion know the children is re-rendered.

  • @connorprice1338
    @connorprice1338 ปีที่แล้ว +4

    The exit animation does not work with this tutorial.

  • @denmccormik7654
    @denmccormik7654 2 ปีที่แล้ว +1

    Do you know where to find right docs, because I found official docs not containing all the useful info. Or maybe I am wrong.

    • @LesterFernandezIO
      @LesterFernandezIO  2 ปีที่แล้ว +1

      I had the same problem, the docs are unorganized but they have many examples you just have to look for them. Of course stackoverflow and youtube helped me too.

    • @denmccormik7654
      @denmccormik7654 2 ปีที่แล้ว +1

      @@LesterFernandezIO Thank you, just found some mistakes in my code and watched framer motion course. That really helped.
      What library do you think is the best for react animations?

    • @LesterFernandezIO
      @LesterFernandezIO  2 ปีที่แล้ว +1

      @@denmccormik7654 Awesome. And I think Framer Motion is the best right now