Тёмный

Mind-blowing page animations are easy now... View Transitions API first look 

Beyond Fireship
Подписаться 389 тыс.
Просмотров 237 тыс.
50% 1

Learn about the new View Transitions API in Astro and how it can add awesome route animations to your website.
#webdevelopment #javascript #code
Upgrade to Fireship PRO fireship.io/pro
View Transitions API docs.astro.build/en/guides/vi...
SvelteFire Docs sveltefire.fireship.io
I built a JS framework • I built a JavaScript f...

Опубликовано:

 

12 авг 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 353   
@trimonmusic
@trimonmusic 9 месяцев назад
"Grid of Asses", this is why I chose Fireship for my programming education needs 👍
@kissmyussr1993
@kissmyussr1993 9 месяцев назад
If I were taught like that at my college I would've already been an L11 at Google
@parlor3115
@parlor3115 9 месяцев назад
When your mom walks in on you
@XDarkGreyX
@XDarkGreyX 9 месяцев назад
Thanks to you I knew what was coming... or so I thought. The number of times he said ass made me giggle like a child a bit too much...
@steamer2k319
@steamer2k319 9 месяцев назад
About time someone came out with a foolproof plan to get one's ass moving. I'm going to forward this helpful vid to my roommate.
@arunkarnati
@arunkarnati 9 месяцев назад
💯😂
@pilearn1266
@pilearn1266 9 месяцев назад
The best ai youtuber
@PrashantKumar-nk2ck
@PrashantKumar-nk2ck 9 месяцев назад
Copying from Twitter
@hardikpatelhdhe
@hardikpatelhdhe 9 месяцев назад
FR
@manojramesh4598
@manojramesh4598 9 месяцев назад
​@@hardikpatelhdhenot really actually
@ooogabooga5111
@ooogabooga5111 9 месяцев назад
Copyleft under GPL v3
@Codepiles
@Codepiles 9 месяцев назад
The best programming language related RU-vidr.
@ciach0_
@ciach0_ 9 месяцев назад
"That explicitly tells the View Transitions API how to move your ass from one page to another" - Jeff, 2023
@kpodp0ra
@kpodp0ra 9 месяцев назад
lot of asses out there
@DanelonNicolas
@DanelonNicolas 9 месяцев назад
I love how you move this asses from one page to another
@user-yy3ki9rl6i
@user-yy3ki9rl6i 9 месяцев назад
on the ass-tro site nonetheless
@jcy089
@jcy089 9 месяцев назад
Two lines of code for a nicer animation but be prepared to learn a new framework, re-learn how do develop JS AND spend hours debugging why all your JS interactions are broken. Yep, sums up frontend development accurately.
@beatsandstuff
@beatsandstuff 9 месяцев назад
yeah, but you get to morph asses, so get going and relearn
@mosch1811
@mosch1811 9 месяцев назад
For frontend developer learning Astro and all its concepts shouldn’t really be as hard. A short look into the docs and you will know most of the stuff
@user-kt7li4le8s
@user-kt7li4le8s 9 месяцев назад
​@@mosch1811astro really feels like it's mostly just HTML
@shayanzamani9907
@shayanzamani9907 9 месяцев назад
I literally learned Astro right before I started building my personal website and it didn't take me more than 3,4 days. You just need to be fluent in HTML, CSS, and JavaScript. BTW, Astro is just awesome and dead simple for the most part, you'll love having it added to your tech stack.
@Kevin-jc1fx
@Kevin-jc1fx 9 месяцев назад
@@mosch1811 The big concern is opportunities. It can be fun for personal or freelance projects were you enjoy full autonomy but there are little chances it will help in your current or future job.
@wlockuz4467
@wlockuz4467 9 месяцев назад
-Ass- as a mobile dev turned into a web dev, this makes me so happy.
@georgios_georgiou
@georgios_georgiou 9 месяцев назад
Dang it love Jeff’s puns he deliberately made the ass page and item just to say now you can move your ass from one page to another 😂 give this man a pun Nobel already
@shayanzamani9907
@shayanzamani9907 9 месяцев назад
Can't agree more lol
@LukeBarousse
@LukeBarousse 9 месяцев назад
"That tells the API how to move your a$$ from one page to another" 🤣i'm dying lolz
@DryBones111
@DryBones111 9 месяцев назад
Thank you so much for this video. I linked it to someone to show off Astro's new support for this in v3 while at the same time accidentally discovering the solution to the bug of my button losing interactivity after upgrading my site to use these transitions. Super.
@combinio9533
@combinio9533 8 месяцев назад
Amazing! I really enjoy the way where it is all going in terms of web-dev (classic MPA with SPA-best features).
@midas6659
@midas6659 9 месяцев назад
It's videos like this that make me proud to be a subscriber of Fireship content 🔥
@mitchellmnr
@mitchellmnr 9 месяцев назад
You had me on my a$$ with this one. Well played, well played!
@samkim5612
@samkim5612 9 месяцев назад
Awesome video, learning and laughing at the same time.
@adicandra9940
@adicandra9940 7 месяцев назад
for the listener problem, just hook everything related to the page initialization(attaching event handler, etc) to "astro:after-swap" event, it will be called when page changed, so it's similar to "DOMContentLoaded" event in a sense.
@Shaheer-xs5os
@Shaheer-xs5os 9 месяцев назад
Dude that stack is so uncommon , only you can come up with such a beautiful and unique thinking, hats off dude.... and I have also renamed my assests to.... ahm... anyways, nice content, keep it up BOI 😅✌
@taiwojolomi2638
@taiwojolomi2638 9 месяцев назад
Fireship delivers knowledge and humor... Gets me everytime 😂💥💥
@mfpears
@mfpears 9 месяцев назад
This feels like a low-code router in an unfinished SPA framework. It may be that the ideal solution is way simpler than existing SPA frameworks. So maybe just a little bit of experience with this will reveal some basic patterns that can scale. But I have a feeling it's going to be rough for a while.
@kashanahmad8014
@kashanahmad8014 9 месяцев назад
Don't really see anything being rough other than the image sources, which you can handle pretty easily using a build-time js object that just dumps the sources wherever you want it to.
@mfpears
@mfpears 9 месяцев назад
@@kashanahmad8014 it always seems that way until you have to get something done. Even in this video we see a few gotchas.
@kashanahmad8014
@kashanahmad8014 9 месяцев назад
@@mfpears yet none of us has given it a try yet we're here to complain eh?
@mfpears
@mfpears 9 месяцев назад
@@kashanahmad8014 I don't need to try it. It's new, and routing is complicated.
@kashanahmad8014
@kashanahmad8014 9 месяцев назад
@@mfpears New doesn't mean bad unless you have evidence, which you don't have until you try. I just created a simple 2-page app and it looks pretty solid. Try it yourself. Routing has never been less complicated, ever seen one of those client-side routers in an enterprise react app?
@kollpotato
@kollpotato 9 месяцев назад
2:15 I am the one who added smooth transitions when toggling themes. I am proud of myself.
@fuzzy-02
@fuzzy-02 9 месяцев назад
And I am proud of you son. I mean, potato
@kollpotato
@kollpotato 9 месяцев назад
@@fuzzy-02 Thank ya
@Owapawa
@Owapawa 9 месяцев назад
Smooth stuff! Is there a way to see where and how you implemented that?
@kollpotato
@kollpotato 9 месяцев назад
@@Owapawa It's really simple with Tailwind, you just add transitions-colors duration-500 to the body
@shayanzamani9907
@shayanzamani9907 9 месяцев назад
Oh cool@@kollpotato
@gabrielbrandao1106
@gabrielbrandao1106 9 месяцев назад
Love your content, keep it up :)
@boogiman007
@boogiman007 9 месяцев назад
your humor has gone to another level
@efdezpolo
@efdezpolo 9 месяцев назад
My blog has literally two posts. Straight to the feelings.
@hbfl3x50
@hbfl3x50 9 месяцев назад
I have been an Astro fan ever since I discovered it
@KJOB
@KJOB 9 месяцев назад
you making me want to rebuild my personal project that i havent even finish yet
@MegaTeeruk
@MegaTeeruk 9 месяцев назад
Hanging out with Fireship is going on my bucket list with getting in a foot race with Tom Cruise.
@krzysztofkrol5374
@krzysztofkrol5374 9 месяцев назад
I LOVE ASSTRO
@devdhaif
@devdhaif 9 месяцев назад
That's a cool way to transition an ass from page to another Really cool
@devprog001
@devprog001 9 месяцев назад
"Our asses now dances around our astro site" got me rolling in the ground 💀💀
@user-cg4id9ig3y
@user-cg4id9ig3y 2 месяца назад
You're the best!
@yajirushik2871
@yajirushik2871 9 месяцев назад
The ultimate asses guide, one to interest everyone.
@JimMendenhall
@JimMendenhall 9 месяцев назад
Those are some sweet ass animations!
@roopak973
@roopak973 9 месяцев назад
That's a kick-ass example
@MrExiztence
@MrExiztence 9 месяцев назад
This is fantasstic!
@terabit7400
@terabit7400 9 месяцев назад
Damn! Those are really nice АSSES 🔥😉
@bobdpa
@bobdpa 9 месяцев назад
Great job. Ass usual.
@vaisakhkm783
@vaisakhkm783 9 месяцев назад
That's a greatAss video...
@powerpcx86
@powerpcx86 9 месяцев назад
This is fantASStic, i love ASStro
@btg323
@btg323 9 месяцев назад
This video kicks ass
@timjini3197
@timjini3197 9 месяцев назад
At the end it was quite funny 😂
@abraham_o
@abraham_o 3 месяца назад
The rants about assess is so beautiful... 😂
@amirnoorani5017
@amirnoorani5017 9 месяцев назад
You are so good and funny 😂
@sebs4591
@sebs4591 9 месяцев назад
Would love to see how to achieve this with the plain View Transitions API (without Astro or any other frameworks)
@ciscoramonsanchez5192
@ciscoramonsanchez5192 9 месяцев назад
this got wild really fast
@FauzulChowdhury
@FauzulChowdhury 9 месяцев назад
Asstonishing feature.
@davidkurniadiweinardy9603
@davidkurniadiweinardy9603 9 месяцев назад
You're a live saver! Now I know how to move my ass gracefully,
@Woeden
@Woeden 9 месяцев назад
That's a fine ass app you got there
@wahyusa
@wahyusa 9 месяцев назад
Can't wait for more browser support
@modernkennnern
@modernkennnern 9 месяцев назад
The first time I heard about the View Transitions API (Used to be called something else when Google originally announced it), my immediate reaction was "Why is this not a thing already?" followed by "I can't wait for this" Then when they announced it was an official CSS spec, and that cross-document view transitions are coming in v2 I was really dissapointed. Sure, same-document transitions can simplify things, but they're nothing game-changing. Cross-document on the other hand are when things are getting interresting. View transitions can give you most of the power of SPAs with the user-, and development experience of MPAs. Edit: I originally wrote "site" instead of "document" which might've confused people. Cross-"domain" transititions never even crossed my mind when I wrote this originally. Sorry for the confusion.
@quintencabo
@quintencabo 9 месяцев назад
Yeah but like when do you actually control multiple domains?
@mfpears
@mfpears 9 месяцев назад
​@@quintencaboI think the use case would be embedded media. Because yeah, headers and footers tend to be site-specific. But imagine RU-vid provides embedding code that includes the right view transition, so when you want to continue watching on RU-vid it smoothly transitions. Images could work too. Whatever site is hosting the media would have to treat it like a public API.
@rand0mtv660
@rand0mtv660 9 месяцев назад
To be honest I never thought about cross site transitions for something like this. I always thought about this being a single site experience. To me it also seems like a security issue if someone can potentially use smooth transition to some crappy domain which a regular user wouldn't notice. To me same site transitions make more sense to give your users a bit nicer UX in certain cases and sense of direction and change when changing pages. I personally wouldn't want RU-vid transitioning to Google Docs for example because those two are totally different. I might change my mind when I actually see this in practice.
@modernkennnern
@modernkennnern 9 месяцев назад
@quintencabo have I misunderstood the spec? According to MDN: > Note: The View Transitions API doesn't currently enable cross-document view transitions. I understood that as "going from domainCom/cats to domainCom/dogs is not supported", but if that actually means "going from domainCom/cats to otherDomainCom/dogs" tgen it's a non-issue
@r-i-ch
@r-i-ch 9 месяцев назад
The transitions are game-changing for your User's "UX" - Animations provide context for "what just happened"/"how did I get here". They show a hierarchical-relationship in a hit-you-in-the-face-with-a-tennis-racket obvious way. As the dev/designer you know way more about what/why your UI changes than your user will. The whole transitioning thing really shines when you are implementing a Single-Page App. Sure, it would be neat to transition to another website, but that website is someone else's problem (someone else's literal domain) so if you really really want to go there, maybe add the other site in an that you do have control over?
@FlyingPenguino
@FlyingPenguino 9 месяцев назад
That ass demo was kickass
@Carhill
@Carhill 9 месяцев назад
"...how to move your ass from one page to another..." Pure comedy gold. 😂
@SteveHazel
@SteveHazel 9 месяцев назад
well. i was entertained.
@aubenhill
@aubenhill 9 месяцев назад
Great ass tutorial!
@hugodsa89
@hugodsa89 9 месяцев назад
This guy is a winner 🤣
@erik-fisher
@erik-fisher 9 месяцев назад
This AI sound is almost perfect.
@loudboomboom
@loudboomboom 5 месяцев назад
Omg 😂😂😂 so informative
@theblackestfern
@theblackestfern 9 месяцев назад
That's a nice Ass-tro tutorial indeed
@a_tabaza
@a_tabaza 9 месяцев назад
I love you, Jeff
@lukobranko
@lukobranko 9 месяцев назад
You are an effin' legend. ASS!!!
@jamesscarr3372
@jamesscarr3372 9 месяцев назад
At 0:26 it says you need Next.js for SEO. But does Vite offer built in SSR, so is this diagram still accurate?
@sohammalve8958
@sohammalve8958 9 месяцев назад
Man you are too creative making content as well as jokes.🤣
@rCinCLined
@rCinCLined 9 месяцев назад
anyone know if it's possible to have dynamic transition names, the list of asses is something you might want to do in a loop, but then transition:name={uniqueTransitionName} doesn't work even even if that same transition:name is also defined on the other page.
@kaustavroy6542
@kaustavroy6542 9 месяцев назад
Great ass transitions
@tomich20
@tomich20 9 месяцев назад
Q: why is everyone so worried about how not to use Js? Who doesn't use it? Love the state transfer hope sveltekit implements it.
@YuriG03042
@YuriG03042 9 месяцев назад
JS usually blocks the DOM and decreases your lighthouse score
@ieatthighs
@ieatthighs 9 месяцев назад
some people prefer to have js disabled, and it's also a nice flex to do stuff without js
@LarsRyeJeppesen
@LarsRyeJeppesen 8 месяцев назад
FantASStic
@G0NZA11
@G0NZA11 9 месяцев назад
What happened to the frame html element? Aren't islands just frames?
@Zepi2509
@Zepi2509 9 месяцев назад
Ich benutze Astro für ein Projekt und finde es super! Kennst du Elm und was hältst du davon?
@CreativeTutorialsWeb
@CreativeTutorialsWeb 9 месяцев назад
I can't count how many times FireShip has said the word ass 😂 Overall great tutorial, I'll choose you over any Udemy course any day
@noe_122
@noe_122 8 месяцев назад
i lost it at the end 😂😂😂😂
@roguesherlock
@roguesherlock 9 месяцев назад
that's a lot asses this early in the morning for me
@fahadnadeem2458
@fahadnadeem2458 9 месяцев назад
Love your content man! I was wondering what do you use for designs? do you design yourself or do you hire someone? I suck at designing so its a demotivation for me to build anything :/
@Sovereign589
@Sovereign589 9 месяцев назад
I think this doesn't have to be s show stopper. There are probably dozens of blogs about that. I mean most programmers aren't designers
@arunkarnati
@arunkarnati 9 месяцев назад
"like that our asses now dance around our Ass'tro site with Grace and Style" 😂Fireship at its best. Love your content!
@JagaSantagostino
@JagaSantagostino 9 месяцев назад
fantASStic
@TheGaoNan
@TheGaoNan 9 месяцев назад
Hey Fireship, What kind of microphone do you use?
@utof
@utof 9 месяцев назад
did u use voice cloning for this video cuz in some places the voice sounds a bit shaky, or am i going insane?
@thelazycoder64
@thelazycoder64 9 месяцев назад
I just forked your sveltefire repo recently., I'm trying to write a react version even though react fire already exists
@tomfancode
@tomfancode 8 месяцев назад
Astro is next js killer.
@PlotTwists
@PlotTwists 9 месяцев назад
Asstro seems promising
@vasiovasio
@vasiovasio 9 месяцев назад
This type of behavior can be easily achieved with Unpoly too.
@akshitnassa6833
@akshitnassa6833 Месяц назад
Can we use these route animations in Webflow for page transitions?
@Jim-bh2tb
@Jim-bh2tb 9 месяцев назад
Thats ASSome
@deado7282
@deado7282 9 месяцев назад
So u were using go or hugo?
@heroe1486
@heroe1486 9 месяцев назад
Yugo
@beyondfireship
@beyondfireship 9 месяцев назад
Hugo
@deado7282
@deado7282 9 месяцев назад
@@beyondfireship Because you are already here: May I ask for go content? It seems like the perfect programming language additionally to js. If you find a week without a js framework release...
@FabioRotondo
@FabioRotondo 9 месяцев назад
I'd like to see a similar tutorial for Svelte
@arcasoy
@arcasoy 9 месяцев назад
"Move your ass from one page to another"... Gold
@nxte8506
@nxte8506 9 месяцев назад
I built this same feature in react by hand. At the time view transitions hadn’t been fully announced. I’m just saying people be patient cuz as simple as it looks this shit is hard assf.
@Kevin-jc1fx
@Kevin-jc1fx 9 месяцев назад
I was wondering how to go about this in react. Do you have a codepen or github repo where we could have a look at your solution? If so, please do share. Thank you.
@jaroslavhuss7813
@jaroslavhuss7813 9 месяцев назад
Jeff please, can u make a tutorial how to make authtentication with Astro in the most possible secure way?
@francoisguezengar6255
@francoisguezengar6255 9 месяцев назад
I would recommend session storage for keeping state between navigation instead of local storage
@DrKartoffelsalat
@DrKartoffelsalat 9 месяцев назад
Tbh, something like remember dark-mode preference is ideal for local storage since your user probably wants to remember that for the next time they visit.
@iwaduarte
@iwaduarte 8 месяцев назад
Client side routing is now a feature in Astro.
@abe10
@abe10 9 месяцев назад
FantASStic 😂
@zorkdabork211
@zorkdabork211 7 месяцев назад
Does anyone know what extension he used to see the package size?
@olmrgreen1904
@olmrgreen1904 9 месяцев назад
Noice
@chrisalexthomas
@chrisalexthomas 9 месяцев назад
Quality educational content here, a grid of asses, I love it! I sometimes find myself working in a room full of asses, but when I say that, I don't mean donkeys :D
@emilz0r
@emilz0r 9 месяцев назад
Bad ass
@electrolyteorb
@electrolyteorb 9 месяцев назад
ASSTRO!
@allan_archie
@allan_archie 9 месяцев назад
What about doing it in native HTML and JS?
@MarijanKopcic
@MarijanKopcic 9 месяцев назад
Another JS framework :)
@jokerdarkknight2508
@jokerdarkknight2508 9 месяцев назад
what is the name of extension that collapse classes of an element into "..." ?
@sahilahmed3066
@sahilahmed3066 5 месяцев назад
Tailwind Fold, I hope you already found it
@WillMruzek
@WillMruzek 7 месяцев назад
Asses - nice one 😂
@chinmayghule8272
@chinmayghule8272 9 месяцев назад
How to do these page transitions using only React?
@dcdales
@dcdales 9 месяцев назад
Should use the CSS overflow: hidden so the content that slides to the left doesn't show overtop the navigation sidebar. Sweet video, though. Fireship rocks.
@icaroo9084
@icaroo9084 9 месяцев назад
Pure ass magic
@292eur
@292eur 8 месяцев назад
These animation:name only work in Chrome? I've tried it in Firefox and Chromium and it just cross-fades.
Далее
How I deploy serverless containers for free
6:33
Просмотров 384 тыс.
Dancing makes everything better 🕺🏼
00:16
Просмотров 2,3 млн
How is it possible? 🫢😱 #tiktok #elsarca
00:13
Просмотров 2,8 млн
React VS Svelte...10 Examples
8:35
Просмотров 514 тыс.
Sorting Algorithms Explained Visually
9:01
Просмотров 507 тыс.
Animate between states with the View Transitions API
3:47
100+ JavaScript Concepts you Need to Know
12:24
Просмотров 1,8 млн
I tried 8 different Postgres ORMs
9:46
Просмотров 381 тыс.
LA NUEVA FORMA DE MANEJAR EL DOM - View Transition API
14:58
Dancing makes everything better 🕺🏼
00:16
Просмотров 2,3 млн