Why Are People Obsessed With ESBuild?

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

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

  • @CoryTheSimmons
    @CoryTheSimmons 3 года назад +76

    If EvanW made ESBuild, and EvanY made Vite, can you even imagine what EvanZ will make? 😳

    • @lightify97
      @lightify97 3 года назад +2

      EvanU made Vite 😆😆

    • @yojona
      @yojona 3 года назад +2

      @@lightify97 Evan You = EvanYou = EvanY. Anyway, it was a good joke.

    • @vinceramces
      @vinceramces 3 года назад +4

      Where EVANX?

  • @micoberss5579
    @micoberss5579 3 года назад +1

    What is Vite? How you cook it ? how you eat it? A video on Vite would be appreciated the community.

  • @sveisvei
    @sveisvei 3 года назад +4

    Vite looks the way forward. Only thing that was annoying for me still, was that Storybook still uses webpack stuff, but they are moving over to better support for Vite as I understand.

    • @exactzero
      @exactzero 3 года назад +2

      Hopefully! I can create components faster than waiting for Storybook to load.

  • @cauebahia
    @cauebahia 3 года назад

    Great video! 1st time I'm hearing about these tools. Thanks

  • @TheoParis
    @TheoParis 3 года назад

    Nice video! I never knew vite existed either, thanks for introducing it in this video :)

  • @LEZPEZ1
    @LEZPEZ1 3 года назад +1

    i subscribed as soon as i heard that finger get sizzled

  • @roblangridge1689
    @roblangridge1689 3 года назад +1

    Great video. Always been frustrated with webpack complexity and speed despite their very best efforts in every release to make it better.

  • @ahmedadly
    @ahmedadly 3 года назад

    that's a great video, any idea about running esbuild with node+typescript?

  •  3 года назад

    Are you going to make a demo video of the tool?

  • @rundtmeg
    @rundtmeg 3 года назад

    I rather compare Gatsby to CRA or Vite, because of its «serverless» output.
    I Gatsby is doing a wonderful job, especially with the build in accessibility features 😍
    But seriously, there are some downsides with ESbuild and Vite, like no three shaking, no Babel/ESLint check support during the build. Also fast-refresh is not working.
    And Vite does not type check, so all these will make them faster by design.
    It is kind of important to know the downsides before actually cosseting them to be an real alternative.
    But things are going in that direction for sure!

  • @princesiful
    @princesiful 3 года назад

    Hi Harry, Can you make a video about the Frontend developer interview preparation process. How can I prepare myself for job. Thanks.

  • @ytadi9229
    @ytadi9229 3 года назад +1

    There is Snowpack which is another esm based build to have an eye on..

    • @lukaswerner4390
      @lukaswerner4390 3 года назад

      And it uses esbuild under the hood as well!!!

    • @ytadi9229
      @ytadi9229 3 года назад

      @@lukaswerner4390 so does Vite

  • @MrAzulay
    @MrAzulay 3 года назад

    Is it fast because of parallelism or because of go? What about all the talk about V8 being so fast. I would assume webpack/rollup also used parallelism through workers but maybe not ?

  • @ziyadkader6767
    @ziyadkader6767 3 года назад +6

    it pronounced : veet not vite, its french for fast

    • @mihaimanole2643
      @mihaimanole2643 3 года назад +1

      With a short e like in fit but with the accent on t not on i.

  • @eleah2665
    @eleah2665 3 года назад +1

    Nice ***RASPBERRRY*** sound effects!

  • @exactzero
    @exactzero 3 года назад

    Hoping for Next.js to adopt this in some way.

    • @thebasedone2182
      @thebasedone2182 3 года назад

      NextJS is currently using webpack, so even if they have plans to migrate to esbuild, it would still be a pain to move it 1:1. There are also features in webpack that do not exist in esbuild and there are no plans to in the future, such as code transforms, manipulating ASTs, etc.

    • @coherentpanda7115
      @coherentpanda7115 3 года назад

      They did just hire the author of Webpack, so they definitely have plans for the future, whether that is taking some of the best elements of ESBuild and tying it into Webpack, or just scrapping Webpack entirely and building something new, who knows. They'll need to do something because it won't be long before plenty of competing React abstractions built on Esbuilds/Snowpack look to dethrone Nextjs.

    • @thebasedone2182
      @thebasedone2182 3 года назад

      @@coherentpanda7115 For them to adopt ESBuild, they have to deprecate Webpack, as most of the bundler process is done in Webpack. I don't see them deprecating Webpack even if the author is working with them

  • @IkraamDev
    @IkraamDev 3 года назад

    What about Snowpack?

  • @rovinwimbleton4143
    @rovinwimbleton4143 3 года назад +17

    Not to be that guy, but it's actually pronounced veet...

    • @hswolff
      @hswolff  3 года назад +3

      Hah! I’ll take it. Fair enough!

    • @aRndBelgianGuy
      @aRndBelgianGuy 3 года назад

      @@hswolff It looks like the guy from Vue likes french words :-)

    • @ChumX100
      @ChumX100 3 года назад +3

      Thanks for being "that guy" for the rest of us.

  • @spondoolie6450
    @spondoolie6450 2 года назад

    If I had a kid I'd name him "harry wolf"

  • @Jr-xs9hy
    @Jr-xs9hy 3 года назад

    haha but really, who ever dips into the webpack stuff? Definitely curious to hear about those adventures

  • @lukaswerner4390
    @lukaswerner4390 3 года назад

    Would you consider covering snowpack as well? I'm curious to hear what you think, I've been using it for development and it's concept of unbundled development is super interesting

    • @hswolff
      @hswolff  3 года назад +2

      My original plan was to cover Snowpack and then Vite came out and I was going to cover Vite and then I realized ESBuild was also super interesting.
      The neat thing about Snowpack AFAICT is that it effectively removes bundling by leveraging native browser ES Modules.
      Vite definitely seems poised to out pace Snowpack in terms of popularity. Seems to have taken all the best ideas of Snowpack and Parcel and packaged it into one super strong bundler.

  • @aquaductape
    @aquaductape 3 года назад

    You should check out SolidJS

  • @VictorZamanian
    @VictorZamanian 3 года назад

    How many times you gonna say "Vite" before you look right on the front page where it tells you how to pronounce it?

  • @regisemiel5755
    @regisemiel5755 2 года назад

    no ones say javascript tools must be written in javascript :)

  • @IkraamDev
    @IkraamDev 3 года назад +1

    You created VueJS.

    • @maskman4821
      @maskman4821 3 года назад

      yeah, Evan You is the creator / author of many cutting-edge technologies / frameworks, e.g. VueJS, Vuepress, Vite ecosystem...

  • @domemvs
    @domemvs 3 года назад +3

    It's pronounced Vite, not Vite!

  • @madhuprasad4822
    @madhuprasad4822 2 года назад

    Remix uses ESBuild

  • @avi7278
    @avi7278 3 года назад +1

    It's pronounced veet... it's a French word

  • @NoNo-pz4lm
    @NoNo-pz4lm 3 года назад

    Who is really so displeased with webpack that they want to replace it? Literally a Swiss Army knife of front end development. Most people will do a large build maybe once per a project. Saving 30 seconds once every couple of months maybe vs spending time to learn and debug a new tool isn’t really a big deal.

    • @go371211
      @go371211 3 года назад +1

      Or, if you have internal develop or staging sites that iterate very fast. Spending five or more minutes every time you push to upstream is not the most productive work flow i could imagine.

    • @exactzero
      @exactzero 3 года назад

      With serverless/cloud computing prevalent especially in frontend development, multiple and parallel builds are done simultaneously. Waiting for 5 minutes just to be able to preview and review your changes before shipping it can become a bottleneck and costly.

    • @NoNo-pz4lm
      @NoNo-pz4lm 3 года назад

      @@exactzero I don’t know why you are building front end projects in the cloud, but it likely isn’t necessary. Yarn already caches your packages. If you have environment variables, you should inject those directly into the app from the server, and any compile time environment variables should be retrieved via an async function.

    • @coherentpanda7115
      @coherentpanda7115 3 года назад

      Once you switch to Snowpack and witness the speed, it';s hard to want to go back to the old way of doing things.