React Page Transitions With Framer Motion + React Router v6 (2023)

preview_player
Показать описание
Step up your React game with the coolest page transition tutorial of 2023! Learn to use Framer Motion and build a rock-solid navigation using React Router v6 to build smooth page transition animation!

Chapters:
0:00 Intro
1:08 Get Started
1:43 Create Components
2:49 Add Routing
4:24 Global Styling
4:49 Creating Transition with Framer
6:25 Incorporating Transition

Thanks for watching!
Рекомендации по теме
Комментарии
Автор

Sorry for using CRA like a noob lmao. Built first plain react app from scratch after almost a year or so 💀

harrnish
Автор

Please keep making videos with React. We want to learn more about React js and framer Motion .

rifat
Автор

I have to give you props(no pun intended) for sublime music taste you have.

mistersir
Автор

Omg you don't know how I love this
Keep makaing like this project bro ❤❤❤

itachiuchihareal
Автор

Love your content. So underrated you deserve way more subs.

MrAbbo
Автор

Awesome! Love the GSAP stuff, but definitely hoping to see more Framer too

WiseArts
Автор

Solution for «….expected function/fragment but got JSX… something…..”

Home.jsx ->

—-

import Transition from “../Transition”

function Home(){
return(
//Home
)
}

const WrappedHome = Transition(Home)

export default WrappedHome

—-

And then just import it in <App> as import Home from “../Home”

5:55

Ivan-Shyriaiev
Автор

This video prompted me to try implementing on Gatsby 🎉 not going great lol used filename instead of page API and most tutorials are old but still a fun idea 👍

coffeemakir
Автор

What about sliding left and right using back and forward buttons, how would you control which direction the page slides in/out based on which route the user is going to + where the user is coming from?

SogMosee
Автор

Bro your GSAP STUFF are dope but need more framer motion stuff like this too, anyway loved this tutorial.

AsifMM-pe
Автор

As stated before keep up the react videos!

code.design
Автор

nice stuff. please provide more framer motion tutorials.

thomasapfelbacher
Автор

great video mate, but a quick question, is there any workaround for pages that await api calls before loading? or for example animations for page->loading screen->page ?

pedrayy
Автор

Bro, I need help, its showing only the slide-out animation. I mean, the screen does not stay in black for a moment and then shrink. Is there something new different??

justmilo
Автор

daamn, in 6 minutes

keep it uuup maaan❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥

dovudyusufzoda
Автор

this is awesome! we need more tutorial like this in React! what about react + gsap?

francocaporaletti
Автор

Awesome, please make tutorial React Page Transitions with GSAP

iwayanadityasemaraputra
Автор

whats 0gComponent?? it throws error for me... am using typescript

synava
Автор

Thanks for the tutorial ♥
Anyway, what's the name of the background music? It's kinda cool

hellofromiqbal
Автор

I wander if this can be used with Remix? Great and inspiring tut!

jorgezozaya