Vite is The New Webpack and Create-React-App killer!

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

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

  • @babblebey
    @babblebey 2 года назад +16

    I got started with ReactJS ⚛️ not too long ago, I couldn't believe I waited a more than 45mins for the create-react-app to fully set-up. Later I found Vite, I have not looked back ever since. Great Video 👍🏾😊

    • @vnm_8945
      @vnm_8945 2 года назад +34

      wtf you coding on, pentium 3?

    • @babblebey
      @babblebey 2 года назад +5

      @@vnm_8945 hahahaha 🤣😂, I guess the internet connection didn't help either 😂🤣

    • @lenardmangay-ayam2530
      @lenardmangay-ayam2530 2 года назад

      Same experience

    • @Imran-Desk
      @Imran-Desk 2 года назад +2

      45 ?🤯

    • @kammitch3131
      @kammitch3131 2 года назад +5

      Ain’t no way it took 45 mins man 😂

  • @LordFullStack
    @LordFullStack 2 года назад +6

    Evan You , is a true gem for web developers .

  • @CheulongSear
    @CheulongSear 2 года назад +33

    my current company is using vite. And it is awesome, light weight and super fast. But there is hard to figure it out when there're errors during configing to make it work with some libraries.

  • @voidmind
    @voidmind Год назад +18

    Running the 3 different build at the same time is not a valid benchmark, because the processes are competing for your CPU. It would have made more sense to run the one after the other.

  • @inasuma8180
    @inasuma8180 2 года назад +11

    i recommend every programmer learn the Rollup API and build their own apps that way. Rollup is very straightforward and only needs to be as complicated as you want it to be (vs. webpack, where it's just always complicated lol).

  • @isaac80745
    @isaac80745 Год назад +1

    Vite is a great project starter. There are no issues when I run npm install and create my project.

  • @DIN_A8
    @DIN_A8 2 года назад +1

    You are constantly delievering the best content! Love it.

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

    Wow, thank you for your amazing explanation!

  • @digitnomad
    @digitnomad Год назад +1

    Vite:68.84s vs Create React App:75.47s vs webpack:84.22s isn't that bad. thanks for sharing.

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

    Thanks for the intro. Would have been nice for more information on the impact of the final product Vs bundled file. You speak about the dev experience being fast but in the grand scheme of things, the production application is what matters. What improvements are made here by using Vite?

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

      from what i know. the production is similar to cra and other react tool..vite only really focus on development environment. and as the app grows. the development speed still the same and fast

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

    amazing. I will try vite!

  • @adamblade9156
    @adamblade9156 Год назад +1

    I take it this is more for new projects, I've tried switching an old react application (3 years) from webpack to vite, but I'm getting a lot of strange errors from the libraries.

    • @lukas.webdev
      @lukas.webdev Год назад

      Correct, start using it from now on should work best... 😉

  • @СэмФишер-х4д
    @СэмФишер-х4д 2 года назад +2

    "we need more frontend app builders, milord!"

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

    thank bro

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

    Vite is powerful 🚀🚀

  • @Emanuel-yb3qk
    @Emanuel-yb3qk 2 года назад +1

    Then, thanks to Vite, it is no longer necessary using webpack?

  • @luisbrazilva
    @luisbrazilva Год назад

    I get it. It's fast but why is everyone ignoring the huge security risk of exposing your API connections and key because it serves the JSX files in the network activity tab without masking them or encoding them.

  • @thanatosor
    @thanatosor 2 года назад +1

    Vite + React + Ionic > React Native ?

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

    👍👍

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

    We need vite.js tutorial full playlist 🙂
    How to customise vite?

  • @honkhonkv2236
    @honkhonkv2236 Год назад +3

    Vite = fast in french and we pronounce it "veet".

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

    vite cant work with dynamic module out of the box and I have no idea how to configure it. Create react app at the other hand works out of the box

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

      I'm learning Vite and I was scratching my head looking for how to support dynamic modules, thanks for confirming it cant do that out of the box

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

    Bro do you have scroll issues on chrome when using linux ubuntu

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

    I have an issue with vite-react in vscode, specifically about auto imports
    When I setup jsconfig base url n paths, vscode doesn't work with it properly but webstorm works well and obeys the config

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

      you need to configure with vite.config.js path too in order to make it work beside the jsconfig

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

      @@puppycatuaena4270 I have done that ..
      Like I said.. it works fine in webstorm.. but vscode ignores it and uses relative paths

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

      Perhaps it also depends on package managers
      Try classic yarn (V1)
      You won't have any issues

  • @jaycodes8790
    @jaycodes8790 2 года назад +2

    Vite Error handling is not as good as createReactApp.... This is the only cons

  • @ragtop63
    @ragtop63 Год назад +2

    Vite, pronounced "veet" (sounds similar to "feet")

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

    why not pronounce it like "bite"?

  • @kostraone
    @kostraone 2 года назад +5

    Yes guys. Just one more step and you'll realise react is a bunch of crap and you'll rediscover coding pleasure with vue 🤓

    • @daycoder301
      @daycoder301 2 года назад +2

      also when i code with vue, my mental health is more stable, lol

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

    Vite sucks. There are no words how much it sucks. It fails to refresh files in sub folders. I have had to retart vite altogether to get my changes effective. DO NOT USE VITE AND DO NOT LISTEN TO THIS GUY.

    • @CoderOne
      @CoderOne  2 года назад +11

      Vite uses chokidar (github.com/paulmillr/chokidar) for file watching! There are scenarios related to different criteria (file-system, env, os...) that makes chokidar fails. This happens with all bundlers not only Vite.
      If it's failing for you, that doesn't mean it's rubbish.

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

      vite is good, however it still has road ahead for improvement

    • @coffee-is-power
      @coffee-is-power Год назад

      Bitch wtf? i use vite and its pretty good actually, i have no complains about it, it just works and it is super fast, if you have problema with doesnt mean it sucks and hes lying like wtf you saying

    • @mrkhoros
      @mrkhoros Год назад

      @@coffee-is-power B!!!!tch ? I am not your mother I hope you know. Learn how to break words before typing something.

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

    Please stop comparison, just if I you like just use otherwise use webpack. Sorry but I do not like such comparison that creates the pro and cons groups. Thank you for the video

  • @walterlol
    @walterlol 2 года назад +2

    It's pronounced Vite (Vaite).

    • @joshuaneedham1260
      @joshuaneedham1260 2 года назад +11

      According to the website it is pronounced veet.

    • @Nounearthlyglow
      @Nounearthlyglow 2 года назад +8

      @@joshuaneedham1260 The Sheik has spoken, and has spoken incorrectly.

  • @jesseliverless9811
    @jesseliverless9811 Год назад

    For fucks sake it's veeeeeeeeeeeet!

  • @Pareshbpatel
    @Pareshbpatel Год назад

    {2023-05-03}