Super Easy Page Transitions With React Tutorial

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 84

  • @worldbest3097
    @worldbest3097 2 роки тому +4

    Dear god,
    Actually, this is what i am looking for this week. This is like stack navigation on the mobile phone. Before this video, i poured about 1-2 weeks for this stack navigation(previous page left behind and next route page will cover up). Until this afternoon, i have no choice but to move react-native or ionic for this page transition. But, i found your youtube, and about 30min later, i finally figured out and applied to my web. If your video open late or maybe next week, maybe i forgive up my nextjs project, and may be i moved to react-native and start from scratch. so, I am going to buy your courses right now. i really really appreciate your endeavor.

  • @TheConqueror253
    @TheConqueror253 2 роки тому +11

    OMG! thank you for mentioning how finicky React is and the necessity of wrapping things in fractions/divs I was having issues with that and not knowing why for days.

  • @sagarkhadka2450
    @sagarkhadka2450 2 роки тому +26

    Make more videos about React with GSAP

    • @swarnavopramanik1701
      @swarnavopramanik1701 2 роки тому +1

      Please I want more react project as all as Full stack using mongodb project 🥺🥺

    • @luffytaro11
      @luffytaro11 2 роки тому

      yes we want more videos of React + GSAP

  • @paolospinelli6348
    @paolospinelli6348 2 роки тому +1

    I just arrived at the point to press like before even starting the video. Love the way you teach and create content!

  • @canberkyilmaz
    @canberkyilmaz 2 роки тому +2

    Whole video I waited for you to fix the type on the Navbar component. RIP "textx-2xl"
    Thanks you for cool animations!

  • @trebaltek
    @trebaltek 2 роки тому +1

    crazy ive been searching this all day yesterday and today lolol you read my mind man

  • @rogermiller5411
    @rogermiller5411 2 роки тому

    man. I'm happy you're back and pushing out more videos like an erupting volcano. everything is hot!

  • @nigusdibekulu5215
    @nigusdibekulu5215 2 роки тому

    i am very thankful for your contents,you deserves more

  • @chawkimbarki1055
    @chawkimbarki1055 2 роки тому +2

    I love your content and you deserve all the support and more❤

  • @vinaypatil8009
    @vinaypatil8009 2 роки тому

    Your Vibes and aura is always positive. Thanks for everything 😊

  • @maisoncastro
    @maisoncastro 4 місяці тому

    22:11 Your dog gave you the spirit to finish the tutorial quicker 😂😂

  • @alvarocastillocorrea2610
    @alvarocastillocorrea2610 2 роки тому +1

    🔥This is Great! is nice to see Framer motion content from you!

  • @mdrezaulkarim4707
    @mdrezaulkarim4707 2 роки тому

    He always sponsors himself :) Love you..Sir

  • @falcon4359
    @falcon4359 Рік тому

    Great Tutorial Helped me a lot! Thanks

  • @youwontbelievewhathappensnext
    @youwontbelievewhathappensnext 2 роки тому

    Very good timing, thanks for this

  • @lasindunuwanga5292
    @lasindunuwanga5292 9 місяців тому

    nice impressions bro!

  • @hehimselfishim
    @hehimselfishim Рік тому

    we need a dedicated framer-motion course Ed

  • @wisdomMate
    @wisdomMate Рік тому +1

    Thanks, nice tutorial

  • @seriouslee4119
    @seriouslee4119 2 роки тому +4

    If you're doing this on a normal React app, where do you put the tag?
    It doesn't seem to pick up on the mode=wait or exit styles if I wrap the tags with it, i.e:
    {routes.map((v, i) => )}
    And if It try to put it in the tags, wrapping the individual tags, I get a router error, i.e:

    {routes.map((v, i) => )}
    The error I get is:
    Uncaught Error: [AnimatePresence] is not a component. All component children of must be a or
    Any help on this would be appreciated.

    • @davidgomez6823
      @davidgomez6823 2 роки тому

      It does happen the same for me using vite, the slide happens but the previous page dissapear so I see the body color not the previous page color. Did you find out a solution?

    • @seriouslee4119
      @seriouslee4119 2 роки тому

      @@davidgomez6823 sadly not. I ended up restarting my whole project in next.js to be able to follow along the tutorial.

    • @davidgomez6823
      @davidgomez6823 2 роки тому

      @@seriouslee4119 keep in mind that soon nextjs 13 is coming and you will need to migrate it because it comes with huge changes. If you are doing an important project. Cheers

    • @lol51329
      @lol51329 2 роки тому

      @@davidgomez6823 Yeah i started mine with vite too, thought it shouldn't make a difference, you figure out how to fix it in the end by any chance?

    • @davidgomez6823
      @davidgomez6823 2 роки тому

      @@lol51329 No I dint find any way

  • @ahsan_0007
    @ahsan_0007 Рік тому

    Great tutorial 🔥

  • @shortvideos7440
    @shortvideos7440 2 роки тому

    I love your teaching teacher 😍😍😍

  • @Lazaerus
    @Lazaerus Рік тому

    This was an awesome video! What makes the package "okay" in your eyes? That's all incredibly sleek and intuitive after watching the vid and reading the docs.

  • @bisbireto303
    @bisbireto303 2 роки тому +4

    Hello Ed! Recently I bought your React and Redux course. Can I use React to create simple web pages? or Should I use a different framework to create a simple web page?

    • @Mwtorres89
      @Mwtorres89 2 роки тому +5

      a simple web page? just use regular javascript.. get good practice.

  • @ElSpoon
    @ElSpoon 2 роки тому +1

    So I'm following along and I can't get past the navbar part...
    I have followed all the steps. however, the tailwind CSS isn't actually updating on my project. I just got done watching the other tutorial on how to build a react portfolio and set it up the same way as that project... still no css updates. Any ideas as to why?
    Edit: I've also included the @tailwinds in the global css file

  • @madvier_8336
    @madvier_8336 Рік тому

    Thank you for the tutorial :)
    this is very helpfull

  • @dev-av2993
    @dev-av2993 2 роки тому +3

    Op teaching sir 🔥, it would be great if you make a more videos on this :)

  • @munnikhanam111
    @munnikhanam111 2 роки тому

    Wow lovely. Thank you so much

  • @gouravchouhan1790
    @gouravchouhan1790 Рік тому

    People train their biceps and get a bicep vein, my man trained his mind so much that he got a mind vein

  • @zacboyles1396
    @zacboyles1396 2 роки тому

    Nuxt and/or solid need your type design love!

  • @coding8524
    @coding8524 2 роки тому +1

    4:30 It's called fragments 😬

  • @tomspatula616
    @tomspatula616 2 роки тому +1

    thanks Ed, great video. anybody guys please do you know how we get all of a sudden 'router' in _app.js? Like what happened there that we have access to router?

  • @itsscode
    @itsscode Рік тому

    Is it possible to add different transition depending on the page you are navigating from.

  • @LuciferAndi
    @LuciferAndi 2 роки тому +1

    damn that dog comment is made me laugh really hard 🤣🤣

  • @charith-q8m
    @charith-q8m 11 місяців тому

    What does the text - base class do?

  • @christianloven5280
    @christianloven5280 3 місяці тому

    Can anybody help? If I don't use mode={"wait"}, it won't do both at the same time. It'll just render the exit transition but not the initial.

  • @yourjhay
    @yourjhay 7 місяців тому

    what is the gzipped thing in your imports?

  • @MDHasanurRahman-ko6cq
    @MDHasanurRahman-ko6cq 2 роки тому

    Thanks buddy!

  • @filipevalentegomes2383
    @filipevalentegomes2383 2 роки тому +1

    I use framer motion for page transition, but I prefer GSAP for everything else. Sucks that I have to use two libraries, but as long as they don’t make it more simple to do page transitions, there aren’t many other options.

    • @dhaloh
      @dhaloh 2 роки тому +1

      Is there a reason you use GSAP for everything else? I have been trying to decide if I should use GSAP or Framer Motion for my personal project and am having trouble deciding.

    • @filipevalentegomes2383
      @filipevalentegomes2383 2 роки тому

      @@dhaloh I don't want to wrap divs and GSAP have cool plugins that Framer Motion doesn't have

    • @dhaloh
      @dhaloh 2 роки тому +2

      @@filipevalentegomes2383 Ohh alright. Thanks for sharing!

  • @colommbiano
    @colommbiano Рік тому

    My brother, one question, can it also be done with Qwik?

  • @satputeabhishek7031
    @satputeabhishek7031 2 роки тому +1

    Happy diwali to all🎉

  • @kameerhosein5748
    @kameerhosein5748 2 роки тому

    What’s your VS Code theme?

  • @HarryUnderscore9
    @HarryUnderscore9 Рік тому

    I am having some trouble with this. I can get upto the point that they transition in and out when you change page but as soon as i try and add the sliding effect it doesnt work, they just still fade out even though the scroll bar appears on the side. It will however slide up if i refresh the page i am on.
    Anyone?

  • @hannahb9195
    @hannahb9195 2 роки тому +1

    When I have tried this method, the div resizes existing elements on the page. Is anyone else having this issue? I am using Next with Chakra UI

    • @soulriderist
      @soulriderist Рік тому

      I'm having a different issue. The bottom section on both pages ends up at the bottom with a background of white. For instance on the contact page ,the words "Find me:" and social media section are at the bottom of the page with a background color of white

  • @soulriderist
    @soulriderist Рік тому +1

    Great tutorial. I learned a lot about page transitions and Next.js. However, I'm having some issues. The bottom section on both pages ends up at the bottom with a background of white. For instance on the contact page ,the words "Find me:" and social media section are at the bottom of the page with a background color of white. Can anybody help?

    • @ADizz2000
      @ADizz2000 Рік тому

      Are u using a div for the bottom section?

    • @kewellkibet3596
      @kewellkibet3596 Рік тому

      @@ADizz2000 ?I did and got the same issue anyway to debug that

    • @ADizz2000
      @ADizz2000 Рік тому

      @@kewellkibet3596 are u using the root layout file

  • @andresmalagon1
    @andresmalagon1 2 роки тому

    can you implement framer motion in a regular react app without next.js?

  • @daanmatheeuwsen1508
    @daanmatheeuwsen1508 2 роки тому

    overflow hidden doesn't work for me, could this possible be because my items position is absolute?

  • @mohammedfaris9196
    @mohammedfaris9196 2 роки тому

    Awesome mahn🚀🚀

  • @luishenriqueandradepellizz680
    @luishenriqueandradepellizz680 2 роки тому

    Oh so. This is nextJs, not pure create react app, is that right?

  • @erkikadhafi9155
    @erkikadhafi9155 2 роки тому

    Hey ed, you should make section observer animation using framer motion video

  • @notappi3982
    @notappi3982 2 роки тому

    Ed can u also add timestaps for future vedios. thanks

  • @ahmadakhbarf7118
    @ahmadakhbarf7118 2 роки тому

    thanks for the tutorial

  • @redfanush
    @redfanush 2 роки тому

    Hi dear, can I upload your video in my own channel giving credit to you?

  • @sara-gd2uh
    @sara-gd2uh 4 місяці тому

    tried to follow the same steps but without using next js and it's not working properly at all

  • @charith-q8m
    @charith-q8m 11 місяців тому

    What is your theme

  • @BanjaraJ007
    @BanjaraJ007 2 роки тому

    Hey sir , does Web developer (full stck)? need knowledge about DSA?

  • @czarscrib3680
    @czarscrib3680 2 роки тому

    What's the name of your vscode theme please?

    • @Mwtorres89
      @Mwtorres89 2 роки тому +2

      community material theme ocean high contrast

  • @_tanzil_
    @_tanzil_ 4 місяці тому

    Who else noticed that the header textx-size was a mistake throughout the whole video? 😁👍

  • @adarsh-chakraborty
    @adarsh-chakraborty 2 роки тому

    Thanks!

  • @zombiebr
    @zombiebr 2 роки тому

    Just pressing Like, sure it will be awesome 🙂

  • @bahaaaldeen9611
    @bahaaaldeen9611 2 роки тому

    awesome

  • @vagglord3156
    @vagglord3156 Рік тому

    I'm watching this at 2x and your voice is still slow xD

  • @mosjunk7764
    @mosjunk7764 Рік тому

    Omg...Ed is turning gay in front of our eyes....just kidding nice tutorial as usual.

  • @prajwald36
    @prajwald36 2 роки тому

    Helo

  • @heabin3294
    @heabin3294 2 роки тому

  • @webdevdost
    @webdevdost 3 місяці тому

    Gsap is better

  • @imjuszay1470
    @imjuszay1470 Рік тому

    Y you look so aggressive, calm down!