The Only Page Transition Hack You Need for HTML Pages

  Рет қаралды 4,529

Codegrid

Codegrid

Күн бұрын

Пікірлер: 44
@codegrid
@codegrid 3 күн бұрын
I know many of you would be looking for such page transition in Next.js using the App Router. Just FYI - I'll be creating a video on that too once I have a reliable solution working. One more thing: I misspoke in the video when I said 'latest version' - I meant the 'last/current version'. It works smoothly when you have minimal to no JavaScript running on the updated page. But I noticed several issues reported where JavaScript wasn't executing correctly after page transitions. The little patch demonstrated in the video should fix that issue. Thanks!
2 күн бұрын
Awesome, that will be so great! Keep up the grind! We will wait patiently for the Next.js version thx!
@petenicholson3255
@petenicholson3255 2 күн бұрын
Definitely going to be trying some variations based on this on my next project. Great work as always chief
@codegrid
@codegrid 2 күн бұрын
🙌🏼
@_imiv
@_imiv 2 күн бұрын
bro what's VS Code theme u r using?
@codegrid
@codegrid 2 күн бұрын
Sequoia
@userj-s2000
@userj-s2000 Күн бұрын
I love you man
@codegrid
@codegrid Күн бұрын
🙏🏽
@MustaPha-s4i
@MustaPha-s4i 2 күн бұрын
Good work i love it
@codegrid
@codegrid 2 күн бұрын
Thanks!
@frontend-css-simplified
@frontend-css-simplified 2 күн бұрын
Can you please explain, why you use stagger: { grid: [2,5], axis: 'x' } options inside the animateTransition function
@codegrid
@codegrid 2 күн бұрын
The grid: [2, 5] tells GSAP to treat the blocks as a 2x5 grid, making blocks in the same column animate together. Without it, GSAP will animate all blocks of the first row before starting the second row. You can remove axis property but it is there to just ensure the animation moves horizontally, but not required in this case since the grid setting already handles the correct stagger order I guess. 😉
@TheStRaX_
@TheStRaX_ Күн бұрын
What's the vs theme btw?
@codegrid
@codegrid Күн бұрын
Sequoia
@zaidgaming1881
@zaidgaming1881 2 күн бұрын
great work😍
@codegrid
@codegrid 2 күн бұрын
Thanks!
@yazidmuhammad2841
@yazidmuhammad2841 2 күн бұрын
Legend ❤
@codegrid
@codegrid 2 күн бұрын
No way 😄🙏🏽
@MACH_SDQ
@MACH_SDQ 2 күн бұрын
Very gooooooood
@codegrid
@codegrid Күн бұрын
Thanks!
@Realharshagarwal
@Realharshagarwal 2 күн бұрын
Brother you know this much why not just make a tutorial for completely fully ui and ux based portfolio with all animations and transitions in nextjs everyone would love that....btw love from India.
@codegrid
@codegrid Күн бұрын
I have mentioned multiple times why I don’t create everything using React/Next. The short answer is, I don’t want to make the source code framework-specific just so people who use other frameworks/libraries or none, can also leverage it.
@TheStRaX_
@TheStRaX_ 2 күн бұрын
W thumbnail
@codegrid
@codegrid 2 күн бұрын
Thanks! 🙏🏽
@m_anees_c
@m_anees_c 3 күн бұрын
@codegrid
@codegrid 3 күн бұрын
🙏🏽
@Ani5e
@Ani5e Күн бұрын
What's your Vs Code Theme Name?
@codegrid
@codegrid Күн бұрын
Sequoia
@АртемТитов-з4о
@АртемТитов-з4о 3 күн бұрын
why gsap don't work with barba?
@codegrid
@codegrid 3 күн бұрын
I guess only the core team would know the actual reason, but I encountered issues with both GSAP and ScrollTrigger after the transitions. I spent several hours troubleshooting and reviewing community threads, but even their suggested solutions, which seemed straightforward, didn't fix the issues in my implementation. Given that, I decided to remove Barba.js entirely from the project.
@devgauravjatt
@devgauravjatt 2 күн бұрын
Astro Framework usage 😅
@codegrid
@codegrid Күн бұрын
✌🏼
@dracula5752
@dracula5752 3 күн бұрын
swupjs is pretty nice barbajs alternative.
@dominotrix
@dominotrix 3 күн бұрын
I tried both to implement with WordPress and BarbaJS is far more reliable and provides great tools to make custom animations and other code that triggers on transition.
@codegrid
@codegrid 3 күн бұрын
Will give Swupjs a shot then! Thanks
@AkashSingh-hs5sg
@AkashSingh-hs5sg 3 күн бұрын
How to do that in next js
@codegrid
@codegrid 3 күн бұрын
You can read the pinned comment!
@SimranQueen73
@SimranQueen73 4 минут бұрын
Sir can you please add hindi audio track..for better understanding Edit: my english is still very weak Please don't hate me 🙏
@Fullstackdesigners
@Fullstackdesigners 2 күн бұрын
Why don't you teach using TailwindCSS?
@codegrid
@codegrid 2 күн бұрын
Because I HATE Tailwind. I’m personally not interested in learning/remembering classes and write tons of classes in HTML. I prefer writing CSS.
@Tay74514
@Tay74514 2 күн бұрын
@@codegrid🫡 I felt that 🥹
@Fullstackdesigners
@Fullstackdesigners 2 күн бұрын
@codegrid okay thanks for prompt reply
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 236 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 8 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,2 МЛН
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 36 МЛН
Svelte 5's Secret Weapon: Classes + Context
18:14
Huntabyte
Рет қаралды 26 М.
This Award-Winning Full Screen Menu Was SHOCKINGLY Easy
15:38
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 984 М.
At Last! Simple details/summary animation with pure CSS
12:36
Kevin Powell
Рет қаралды 28 М.
Please Stop Making These JavaScript Mistakes
14:04
Conner Ardman
Рет қаралды 15 М.
How HACKERS Login to ANY Website | THM Cyber Security 101
21:30
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 8 МЛН