Vite 6 is important, here's why

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 187

  • @markshall94
    @markshall94 8 дней назад +278

    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 дней назад +78

      Significantly more impact than Vue

    • @tonystroemsnaes554
      @tonystroemsnaes554 8 дней назад +7

      yes

    • @samuelmorkbednarzkepler
      @samuelmorkbednarzkepler 8 дней назад +38

      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 дней назад +2

      By far yeah

  • @IngwiePhoenix_nb
    @IngwiePhoenix_nb 8 дней назад +106

    "SSR is the future!"
    ...so what did I unlearn my PHP for?! Damnit! /s

    • @plaintext7288
      @plaintext7288 8 дней назад +5

      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 дней назад +6

      I CALL IT VITE, NOT VIT, I DO NOT CARE.

    • @gro967
      @gro967 7 дней назад

      @@SIGMA_BLYATlearn to pronounce properly

    • @tinusg
      @tinusg 6 дней назад +1

      PHP never went away, with good reason.

  • @michaelpumo83
    @michaelpumo83 8 дней назад +78

    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 дней назад +17

    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 дней назад +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 дней назад +52

    Next.js not using vite is starting to really frustrate me. It would make maintaining a monorepo easier.

    • @dzigizord6567
      @dzigizord6567 7 дней назад +15

      easy fix, stop using nextjs and start using tanstack start

    • @dimitristsap.9820
      @dimitristsap.9820 7 дней назад +11

      use REMIX

    • @dbohea
      @dbohea 7 дней назад +3

      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 дней назад +4

      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 дней назад +2

    this blacksmith sponsorship is one of the VERY few ads that I actually checked out, and do actually like! thank you!

  • @TheAlexLichter
    @TheAlexLichter 7 дней назад +27

    When will we get an in-depth UnJS/Nitro video 👀

  • @ShimoriUta77
    @ShimoriUta77 8 дней назад +6

    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 дней назад +4

    PHP: look what they have to do to mimic a fraction of my power

  • @abb0tt
    @abb0tt 8 дней назад +5

    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 дней назад +11

    I wrote a few projects at my job with Snowpack and quickly moved them all over to Vite

  • @fischi9129
    @fischi9129 8 дней назад +4

    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 дней назад +9

    1:01 Ben debugging build issues over the phone while on the toilet. Legend

  • @AntranigVartanian
    @AntranigVartanian 7 дней назад +1

    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 дней назад +6

    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 дней назад +2

    Came for article stayed for the ad 🖤

  • @lu2000luk
    @lu2000luk 8 дней назад +4

    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 дней назад +10

    I liked that blacksmith ad lol

  • @RobertMcGovernTarasis
    @RobertMcGovernTarasis 8 дней назад +2

    Huh. Only recently heard of Vite, and now I’m excited.

  • @horstcredible4247
    @horstcredible4247 7 дней назад +6

    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 дней назад +3

      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 6 дней назад +2

      ​@@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 RUclips 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.. 6 дней назад +1

      @ 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 дней назад +1

    0:18 Snowpack was first called "Pika", Snowpack & Vite initially both used esbuild internally.

  • @samuelreichor3156
    @samuelreichor3156 8 дней назад +6

    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 дней назад +1

    I’m excited for nuxt 4, it will leverage all these changes

  • @Kay8B
    @Kay8B 8 дней назад +2

    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 дней назад

    3:48 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 дней назад +6

    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 дней назад +1

      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 дней назад +1

      @@ajithav2011 Not sure why my detailed reply was removed...

    • @leob_v2
      @leob_v2 8 дней назад +2

      ​@@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 7 дней назад

    Your advertisements remind me of Saul Goodman's commercials.

  • @m4saurabh
    @m4saurabh 8 дней назад +1

    Playing around with Nitro and Vinxi, something is comming. It's not what you think.

  • @tamirfri1
    @tamirfri1 8 дней назад +2

    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 дней назад +4

    I've never been this early before

  • @chrisanderson687
    @chrisanderson687 8 дней назад +50

    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 дней назад +31

      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 дней назад +7

      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 дней назад +6

      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 дней назад +1

    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 7 дней назад

    "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 7 дней назад

    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 6 дней назад

    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 дней назад +2

      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 7 дней назад

    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 дней назад +7

    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 дней назад +6

      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 7 дней назад

      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 дней назад +6

    SSR is basically a modern way to say PHP + JQuery

  • @ktappdev
    @ktappdev 7 дней назад +1

    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 дней назад +1

    Btw, the Storybook has changed since it sucked in version 5. Now it looks better

  • @paca3107
    @paca3107 8 дней назад

    aaaaaabstraction heeeell

  • @LadyEmilyNyx
    @LadyEmilyNyx 8 дней назад

    I am excite

  • @vanance7235
    @vanance7235 8 дней назад

    create framework!

  • @amiman10
    @amiman10 7 дней назад +1

    SSR is a scam to get you to pay for servers

  • @duckydude20
    @duckydude20 7 дней назад

    its vit not vite???

  • @Vemu
    @Vemu 8 дней назад +1

    Kotlin>

  • @Kunal-k-u-m-a-r
    @Kunal-k-u-m-a-r 7 дней назад +1

    how much click bait on this channel ?

  • @BestCodes_Official
    @BestCodes_Official 8 дней назад +5

    I always called it Vite, not Veet. Isn't it spelled Vite? 😂
    Good video

    • @philadams9254
      @philadams9254 8 дней назад +2

      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 дней назад +3

      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 дней назад +1

      @@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 7 дней назад

    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 3 дня назад

    you can't build no framework

  • @bringmemore2621
    @bringmemore2621 8 дней назад

    No its not.

  • @Alkaris
    @Alkaris 7 дней назад

    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.