Vite 6 is important, here's why

  Рет қаралды 98,001

Theo - t3․gg

Theo - t3․gg

Күн бұрын

Пікірлер: 187
@markshall94
@markshall94 8 күн бұрын
Would it be fair to say that Vite has had almost more of an impact in the web-dev world than Vue has?
@devin-little
@devin-little 8 күн бұрын
definitely it would be. idek why vue has so many stars on GitHub I honestly think vite should have way more
@TheBswan
@TheBswan 8 күн бұрын
Significantly more impact than Vue
@tonystroemsnaes554
@tonystroemsnaes554 8 күн бұрын
yes
@samuelmorkbednarzkepler
@samuelmorkbednarzkepler 8 күн бұрын
I dont think thats much of a debate. And I say that as a Vue fanatic. Altough, you could argue that since Vite was supposed to be for vue, therfore any impact vite has is by extension Vue`s impact. And I guess from that point of view vue has had more of an impact because Vue's impact encompases all of vite's impact pluss its own impact in other areas.
@timmeehan2365
@timmeehan2365 8 күн бұрын
By far yeah
@IngwiePhoenix_nb
@IngwiePhoenix_nb 8 күн бұрын
"SSR is the future!" ...so what did I unlearn my PHP for?! Damnit! /s
@plaintext7288
@plaintext7288 8 күн бұрын
could've just bundled a php interpreter and wrote php clientside
@alexsmart2612
@alexsmart2612 8 күн бұрын
@@IngwiePhoenix_nb Two hundred requests per second!!!
@SIGMA_BLYAT
@SIGMA_BLYAT 7 күн бұрын
I CALL IT VITE, NOT VIT, I DO NOT CARE.
@gro967
@gro967 7 күн бұрын
@@SIGMA_BLYATlearn to pronounce properly
@tinusg
@tinusg 7 күн бұрын
PHP never went away, with good reason.
@michaelpumo83
@michaelpumo83 8 күн бұрын
UnJS, Nitro, Vite, H3, Vitest ...all came from the Vue developers. Just sayin'. Vue and Nuxt are fantastic. I'd like to see more people using them.
@franepoljak9605
@franepoljak9605 8 күн бұрын
I recently started using Nuxt and love it so far
@SeanCassiere
@SeanCassiere 8 күн бұрын
Nikhil has spoken about how he's also looking at possibly using Vite's Environment API to reduce the Vinxi magic and rather turn it more into an orchestration tool. Edit: We (at TanStack Start) aren't looking to drop Vinxi anytime soon. Evan has hinted at there being a closer integration between Vite and Nitro that may be coming in the future, which is probably the only avenue of exploration we'd make if required.
@dezly-macauley
@dezly-macauley 7 күн бұрын
Bun + Vite + Svelte are the only reason why I go near Front-End Development. Especially Vite. Now I can spend more time actually learning TS than fighting with some random issue.
@Z4KIUS
@Z4KIUS 5 күн бұрын
honestly I don't know whether it's Bun or Vite doing the magic but not having to know that is nice too, it's been such a pain to make tsc and node happy!
@edwardallenthree
@edwardallenthree 8 күн бұрын
Next.js not using vite is starting to really frustrate me. It would make maintaining a monorepo easier.
@dzigizord6567
@dzigizord6567 7 күн бұрын
easy fix, stop using nextjs and start using tanstack start
@dimitristsap.9820
@dimitristsap.9820 7 күн бұрын
use REMIX
@dbohea
@dbohea 7 күн бұрын
Use Nuxt (Vite + Nitro + h3 under the hood - not sure why this wasn't mentioned in the vid despite all the apparent love for this stack).
@martinlesko1521
@martinlesko1521 7 күн бұрын
Turbopack became almost like a meme, rspack and rolldown move faster than this
@incarnateTheGreat
@incarnateTheGreat 7 күн бұрын
I purposely built two different projects with Next and Remix respectively just to see the difference. I was blown away with how easy and fast Remix is. Next works, it has RSC, and Turbopack is a nice touch, but I'm honestly fine with the simplicity and speed that Remix provides. Also, using Context to support useLoaderData and useGetLoaderData is wonderful.
@jan_harald
@jan_harald 6 күн бұрын
this blacksmith sponsorship is one of the VERY few ads that I actually checked out, and do actually like! thank you!
@TheAlexLichter
@TheAlexLichter 8 күн бұрын
When will we get an in-depth UnJS/Nitro video 👀
@ShimoriUta77
@ShimoriUta77 8 күн бұрын
I laughed like a maniac when you said "almost regretting this Rust rewrite", as even after two years of Rust programming, I still think the same every time I do "cargo build". (watching this as I wait for my workspaced-project to fully compile)
@lazyalpaca7
@lazyalpaca7 7 күн бұрын
PHP: look what they have to do to mimic a fraction of my power
@abb0tt
@abb0tt 8 күн бұрын
I was listening passively, and suddenly I heard Theo say, "Vladimir has been killing it too." lol. apologies for my sense of humor
@markshall94
@markshall94 8 күн бұрын
I wrote a few projects at my job with Snowpack and quickly moved them all over to Vite
@fischi9129
@fischi9129 8 күн бұрын
just soämäe clarification, H3 is part of the unjs echosystem and is a minimal backend li rary e.g. Express, nitro is built upon it and is a backend framework, it adds deployment configs, db connectors, caching etc. Vinxi is built on top of Nitro to have multiple things. But H3 is an integral part of Nitro (nitro doesn't work without it) and Nitro is an integral part of vinxi.
@jocdiazm
@jocdiazm 8 күн бұрын
<a href="#" class="seekto" data-time="61">1:01</a> Ben debugging build issues over the phone while on the toilet. Legend
@AntranigVartanian
@AntranigVartanian 7 күн бұрын
Frankly speaking, I still do tag and manually src my JS files, like we did 20 years ago, and it just works.
@lazy-soft
@lazy-soft 8 күн бұрын
Am I the only one waiting for characters in Theo's skit to develop their lore and backstory into a full cinematic universe?
@Benjamin-Chavez
@Benjamin-Chavez 8 күн бұрын
Came for article stayed for the ad 🖤
@lu2000luk
@lu2000luk 8 күн бұрын
I swear i was looking onto cool ways to implement server side stuff into Vite literally 30 seconds before opening the video
@nathancovey
@nathancovey 8 күн бұрын
I liked that blacksmith ad lol
@RobertMcGovernTarasis
@RobertMcGovernTarasis 8 күн бұрын
Huh. Only recently heard of Vite, and now I’m excited.
@horstcredible4247
@horstcredible4247 8 күн бұрын
Hey Theo, you said you think Storybook sucks... why? For the technical setup? For the functionality? Or even the whole idea? Any alternatives you'd recommend?
@snowe..
@snowe.. 7 күн бұрын
Theo says a bunch of stuff sucks when it doesn't, and says a bunch of stuff is good when it isn't. If you like storybook then use storybook.
@horstcredible4247
@horstcredible4247 7 күн бұрын
​@@snowe.. Thanks for your reply. Yeah, I know Theo does that a lot. It's not that I'm changing my professional decision made for the company I'm working for years ago because of a side comment in a KZbin video. Not a fan of hype engineering. Business uses the tool to give feedback early, devs use it a lot for a11y and more. Works great for us. But I love to hear different opinions and views about things. We can always learn. And that's why I always ask why in such cases.
@snowe..
@snowe.. 7 күн бұрын
@ gotcha gotcha. Yeah good job there, you said it in a very neutral tone so it seemed (to me) like you were basing decisions on what Theo says. Clearly I was wrong. 👍🏼
@ashrafal
@ashrafal 7 күн бұрын
<a href="#" class="seekto" data-time="18">0:18</a> Snowpack was first called "Pika", Snowpack & Vite initially both used esbuild internally.
@samuelreichor3156
@samuelreichor3156 8 күн бұрын
I think it's time that you should try out nuxt ;)
@miladzai8708
@miladzai8708 7 күн бұрын
Vite is the best bundler! - Software engineer with 10+ years experience
@memeteamdreamteam3990
@memeteamdreamteam3990 8 күн бұрын
When I was looking into analog I got really deep into learning about nitro. The reason I didn't use analog was that because it didn't properly support nitro hooks. Love the unjs stuff
@hugazo
@hugazo 8 күн бұрын
I’m excited for nuxt 4, it will leverage all these changes
@Kay8B
@Kay8B 8 күн бұрын
SSR is such a pain in the current Vite I just skipped it on our projects (or used NEXT) but would love to use SSR if it becomes easily useable on Vite.
@iganic7574
@iganic7574 2 күн бұрын
Half of things is going above my mind but i am still watching
@aj8__8
@aj8__8 7 күн бұрын
<a href="#" class="seekto" data-time="228">3:48</a> bro just casually mentions this cool tool, we need a monthly video for just cool stuff that we might have missed or never heard of
@leob_v2
@leob_v2 8 күн бұрын
I * really * like Vite...but migrating a large project to it was really difficult and was scrapped in the end. After a while, we tried again, with rsbuild - did it in 2 days, there's barely any config, and the HMR and build speed still astonish us daily, months later...
@ajithav2011
@ajithav2011 8 күн бұрын
I am in a similar situation. What were the issues you faced when migrating to vite?
@leob_v2
@leob_v2 8 күн бұрын
​@@ajithav2011 For us, it was: a) incompatibility with some of the libraries we're using - primarily Antd 3.x and b) how "hard-fixed" some of the defaults are. (Antd is a separate story, as we migrated to 5.x, only to find out first-hand about horrible performance issues that there is no resolution for until 6.x, so had to stay with 3), With Vite, and going for least configuration, we needed to do a lot of work in the project to overcome the errors and warnings - admittedly, it's good defaults, and most of our problems came from doing non-standard stuff that use of webpack and plugins introduced over time, but it wasn't easy to do gradually - more of a all or nothing approach. Compared to that, with rsbuild, we got even more performance (frontend build and deploy went from 1.9 min with webpack to 10 sec total with rsbuild) , equal ability to just remove 20+ dev packages of different webpack and babel plugins, and the migration was just less painful / more gradual...We got it working very quickly, and then polished. For Vite, it was 90% of work needed up-front, just to get the app running. I think a lot of it is project/situation-specific, and if starting with a fresh project, it's a great choice - I really like the overall feel of it. But rsbuild gives no reason to be avoided, and comes with some strong points on top as well.
@EscherSketcher
@EscherSketcher 8 күн бұрын
Same. I tested both Vite and RSBuild. Ended up switching a large CRA app to RSBuild w ease. Some things I noticed: Vite had problems w file extensions. Like having JSX in a .js file. RSBuild is crazy fast in starting the dev server, hmr, and building a dist. Both are great imo. But one worked better for our use case. And we still use ViteTest for testing.
@leob_v2
@leob_v2 8 күн бұрын
@@ajithav2011 Not sure why my detailed reply was removed...
@leob_v2
@leob_v2 8 күн бұрын
​@@ajithav2011 I'll try again shorter. A) Incompatibility with some of the libraries we're using - like Antd 3.x B) A lot of work to overcome errors and warnings - defaults are really good, but if going for least configuration, kind of hard-wired, so it's difficult to work around them.
@zaneflow
@zaneflow 8 күн бұрын
Very nice sketch for the ad lol
@alexsmart2612
@alexsmart2612 8 күн бұрын
SSR will be "more and more the future" if and when you are able to render more than 200 pages per second.
@kasunakalanka3666
@kasunakalanka3666 8 күн бұрын
Your advertisements remind me of Saul Goodman's commercials.
@m4saurabh
@m4saurabh 8 күн бұрын
Playing around with Nitro and Vinxi, something is comming. It's not what you think.
@tamirfri1
@tamirfri1 8 күн бұрын
in my company we use rsbuild and it is great
@raimondszakis8337
@raimondszakis8337 7 күн бұрын
Since I do not use vercel I probably lack understanding on how easy it is to deploy it. My solution is just to have git repo on my prod server for my small website projects i Just run the script that pulls in latest, builds out and reboots the server, not idea but what is there something vercel specific that scripting thing yourself provide?
@ammarahmed1676
@ammarahmed1676 8 күн бұрын
I've never been this early before
@davidolufemi9247
@davidolufemi9247 8 күн бұрын
Same
@chrisanderson687
@chrisanderson687 8 күн бұрын
SSR still seems mostly useless to me and massively over-hyped. The complexity it adds is extreme as well. Can someone explain why on earth SPA architecture isn't still preferable?
@nickmurdaugh9856
@nickmurdaugh9856 8 күн бұрын
Seo. It can also lead to faster load times for a lot of content.
@MasterF3
@MasterF3 8 күн бұрын
​@@nickmurdaugh9856As someone who works on internal company web applications, if that's the only benefit, I'm pretty annoyed everything is moving towards the SSR route.
@mateleo78
@mateleo78 8 күн бұрын
Without JavaScript your website is not running. Faster load times, and SEO friendly For an easy SSR, I use Nuxt and it's amazing how good it is!
@lucacampli3652
@lucacampli3652 8 күн бұрын
What's so extremely complicated about it? It surely add complexity but like every new paradigm you just need to get used to it. 99% of the times you just have to mindful of not calling browser APIs outside of useEffect or check if you are in the browser or not before calling it
@kyuss789
@kyuss789 8 күн бұрын
Depends on what you are building. Sometimes you need to generate the base html rather than serve it statically, conditionally adding head tags based on region, AB testing your assets. Etc somethings are just cleaner and easier when you can dynamically generate the first thing a user sees Basic SSR for initial page render is not hard or complex. It’s server components etc that make it difficult
@ardianhotii
@ardianhotii 8 күн бұрын
How your github is showing file icons ? how, what did you do? I like that
@maulik13
@maulik13 3 күн бұрын
Hearing Theo talk about SSR just confuses me, since rendering on the server side has existed for soooo long. Can the frontend SPA guys treat it more like yeah we value SSR too and want it in our new tech-stack.
@zakimimit
@zakimimit 8 күн бұрын
Thank you for the video I hope you talk about farmfe
@ibrahimhalouane8130
@ibrahimhalouane8130 7 күн бұрын
Awesome project, but It's hard to get attention these days if you don't have enough budget for marketing or if that's about a chinese project, am I exaggerating?
@virtual5754
@virtual5754 8 күн бұрын
Theo, can you influence vercel to move next 16 to vite?
@mailslurp
@mailslurp 7 күн бұрын
it will be "the standard" for approximately n years before something else comes along
@Archheret1c
@Archheret1c 8 күн бұрын
Hope Rolldown will support SystemJS or atleast allow to continue to use Rollup with Vite under the hood if they don't.
@steveatfullmeasure
@steveatfullmeasure 7 күн бұрын
I did try snow pack, the dev/release differences pointed the way forward!!
@OldKing11100
@OldKing11100 8 күн бұрын
Ok the addspot was funny for Rust and true.
@carlosperezcpe
@carlosperezcpe 8 күн бұрын
I'm a project manager do some coding but not really good. Sometimes on my free time I watch this channel to try to learn. This video was way to advance for me 😅 could have used diagrams and examples but thanks for the work
@TheBurntHoney
@TheBurntHoney 8 күн бұрын
out of curiosity what is wrong with storybook?
@lazyalpaca7
@lazyalpaca7 7 күн бұрын
The explanation about SSR got me thinking, isn't this just PHP?
@useruser-ti1og
@useruser-ti1og 7 күн бұрын
Still just running express docker and static front :)
@pawan29121991
@pawan29121991 8 күн бұрын
No "body tag" in twitch 😊?
@jerondiovis6128
@jerondiovis6128 8 күн бұрын
"Storybook kinda sucks" is a... strong take. Why does it?
@jsonkody
@jsonkody 8 күн бұрын
It had 669 likes .. it's so pleasing to push it to 670 😂🎉
@StephanHoyer
@StephanHoyer 8 күн бұрын
I thought isomorphic rendering is solved by now, but it seems it isn't. Btw Mithril community solved this already 10 years ago
@Bluesourboy
@Bluesourboy 7 күн бұрын
If Storybook sucks, what would you use instead?
@MrJloa
@MrJloa 7 күн бұрын
And no promised out of the box federation solution 😭
@EricBishard
@EricBishard 8 күн бұрын
six point, ohhhhhh let's friggin go~!
@edgarabgaryan8989
@edgarabgaryan8989 7 күн бұрын
video about waku!
@assertnotnull
@assertnotnull 8 күн бұрын
BTW React router v7 has been released and it's replacing Remix. I'm surprised you haven't covered this.
@t3dotgg
@t3dotgg 7 күн бұрын
I covered it months ago?
@AlexandreMoreauLemay
@AlexandreMoreauLemay 8 күн бұрын
There’s vike though, plugins into vite
@marty0678
@marty0678 8 күн бұрын
"Other than getting off that old way of building sooner rather than later". No. I dont think I will.
@rdechet
@rdechet 8 күн бұрын
Thx, One JS / Tamagui
@nomadtrails
@nomadtrails 8 күн бұрын
I don't get why you'd say vite doesn't work on server... Sveltekit is bundled with Vite. I've personally had great success with Vite to build my own Svelte server islands architecture. Where is the substance behind this claim?
@kolklik
@kolklik 7 күн бұрын
snowpack gang!
@anuragparasharsarmah1045
@anuragparasharsarmah1045 8 күн бұрын
Just asking, you read from a script right?
@ProCodeGaming
@ProCodeGaming 8 күн бұрын
I'm using it right now
@i.reutenko
@i.reutenko 8 күн бұрын
Let's refactor gulp in rust (=
@MobiusCoin
@MobiusCoin 8 күн бұрын
I really like Vite, never had much of an issue with it but "it's a standard for a reason" is a bad argument because it's basically the same argument for Webpack.
@samuelmorkbednarzkepler
@samuelmorkbednarzkepler 8 күн бұрын
It was the same argument for webpack back in the day. And during those times it was as true for webpack as it now is for vite.
@TobyLegion
@TobyLegion 8 күн бұрын
Most things humans do are for a reason. Doesn't have to be a good reason.
@JLarky
@JLarky 8 күн бұрын
Vinxi is pronounced like vinchi (to rhyme with da Vinci)
@bartff5568
@bartff5568 8 күн бұрын
SSR is basically a modern way to say PHP + JQuery
@edwardallenthree
@edwardallenthree 8 күн бұрын
No it's not. It really isn't.
@ktappdev
@ktappdev 7 күн бұрын
All of this just to be php?
@SasukeUchiha-ts4on
@SasukeUchiha-ts4on 7 күн бұрын
Make video on rspack
@succatash
@succatash 8 күн бұрын
T3 is gone now u have a better type safety stack. Vit6, tanstack start and tailwind 4
@Upsided
@Upsided 8 күн бұрын
Fresh off the printers
@zvaIa
@zvaIa 7 күн бұрын
Vite 6??? I'm still at vite 1
@loquek
@loquek 7 күн бұрын
thats more of a brag than a fun fact :P
@JoshuaClaytonConnor
@JoshuaClaytonConnor 7 күн бұрын
Theo?
@i.reutenko
@i.reutenko 8 күн бұрын
Btw, the Storybook has changed since it sucked in version 5. Now it looks better
@RobertMcGovernTarasis
@RobertMcGovernTarasis 8 күн бұрын
Looks better? But does it work better?
@paca3107
@paca3107 8 күн бұрын
aaaaaabstraction heeeell
@LadyEmilyNyx
@LadyEmilyNyx 8 күн бұрын
I am excite
@vanance7235
@vanance7235 8 күн бұрын
create framework!
@amiman10
@amiman10 7 күн бұрын
SSR is a scam to get you to pay for servers
@duckydude20
@duckydude20 7 күн бұрын
its vit not vite???
@Vemu
@Vemu 8 күн бұрын
Kotlin>
@Kunal-k-u-m-a-r
@Kunal-k-u-m-a-r 7 күн бұрын
how much click bait on this channel ?
@BestCodes_Official
@BestCodes_Official 8 күн бұрын
I always called it Vite, not Veet. Isn't it spelled Vite? 😂 Good video
@philadams9254
@philadams9254 8 күн бұрын
Yeah, it's Vite for everyone I work with. Veet must be a US thing - that's a hair removal thing in the UK 😂
@bartek.igielski
@bartek.igielski 8 күн бұрын
just open the first page of the Vite docs, it's literally the first sentence, they even have a recording of a proper pronunciation and it's nothing new, they have it there since day one
@TheAcebyte
@TheAcebyte 8 күн бұрын
It's from the french word, which stands for quick
@BestCodes_Official
@BestCodes_Official 8 күн бұрын
@@bartek.igielski I was joking... 🙄
@arunabraham9382
@arunabraham9382 4 күн бұрын
I never liked webpack, early user of snowpack, There is skypack but was a mess
@TimLouw
@TimLouw 8 күн бұрын
Completely wrong about ESBUILD and why it gets used in vite
@AbouAnia
@AbouAnia 7 күн бұрын
SSR is not the future
@lancemarchetti8673
@lancemarchetti8673 8 күн бұрын
Not sure why people need all these tools. I've been building with HTML, CSS and vanilla JS in Notepad++ for the last 2 years, and never found a need for any frameworks etc. Admittedly, stuff takes longer but that's ok for me. I only land up with 3 files max to edit.
@UnknownPerson-wg1hw
@UnknownPerson-wg1hw 7 күн бұрын
good for you, now you go to that corner while we talk real bidness
@YakovFn
@YakovFn 8 күн бұрын
I'm early
@Alex_Cevi
@Alex_Cevi 7 күн бұрын
long live webpack .. yall just bad
@LucasMaffazioli
@LucasMaffazioli 7 күн бұрын
BRO, please make shorter interesting videos, I already work for 8 freaking hours to watch you read articles
@jasenmichael
@jasenmichael 4 күн бұрын
you can't build no framework
@bringmemore2621
@bringmemore2621 8 күн бұрын
No its not.
@Alkaris
@Alkaris 8 күн бұрын
There's too many frameworks for basically doing the same thing, it's nice there are different options to choose from, but it just feels as if though people just keep creating new frameworks for the sake of making new frameworks around certain things, when one or two already exists and does most of or all of what they want already by copying the same features of the ones that already exist, but with little extra things added in that they want to see. Having too many different frameworks just complicates things, and if you ever try to step away from one to move to another, you end up having to change a lot of your stuff to convert to the new stuff.
React 19 is finally out!
28:01
Theo - t3․gg
Рет қаралды 53 М.
Astro stole my favorite parts of Next (and I'm hyped)
32:30
Theo - t3․gg
Рет қаралды 26 М.
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 9 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 75 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 23 МЛН
Improve your Prompting with ConDelta in SD1.5, SDXL and Flux
16:25
Code Crafters Corner
Рет қаралды 889
12,419 Days Of Strandbeest Evolution
21:39
Veritasium
Рет қаралды 2,9 МЛН
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 674 М.
This Video is AI Generated! SORA Review
16:41
Marques Brownlee
Рет қаралды 2,8 МЛН
the 7zip rabbit hole goes extremely deep. (1000's of crashes)
12:50
Finally a Mac for This Economy - Mac Mini M4
13:44
Linus Tech Tips
Рет қаралды 1,2 МЛН
This tool annoyed me (so I built a free version)
19:38
Theo - t3․gg
Рет қаралды 232 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 296 М.
Tailwind V4 is WAY better than I expected
30:17
Theo - t3․gg
Рет қаралды 124 М.
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН