replace webpack with esbuild as your bundler with create react app

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

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

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

    Thanks for this! Really love ur videos! Keep up the great work!!!

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

      Thank you, glad you enjoy

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

    The speed is just amazing

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

    Hi Chris Hay, I hope you are well. i used your template code from github.

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

    one thing i experienced with esbuild on react app is that it messes up the routing if you build it using esbuild. like normal routing works, but if you direcly go to url, it wont work. if you are on any page, and reload, it wont work. etc

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

    could you please make a video on react-router-dom with esbuild? how it configure

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

    Helll thanks is it possible to install esbuild on android am codin with termux but the esbuild downloads but ./esbuild --version shows platform error

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

    Awesome tutorial! Thank you ! I did the same as you, but I have a problem. I had a jpg to load as a normal import, esbuild copies the image (with a short hash in the tail of the filename as well) in the ./public/dist folder, but my server request is for GET /myimage_and_hash.jpg instead of GET /dist/myimage_and_hash.jpg. So this is not working. What am I doing wrong ?

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

    Thanks for the content. Any reason why anyone will set up using cra + esbuild instead of next.js + swc ?

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

      Tbh. It’s a layered question. I prefer esbuild over swc for many reasons. Although it’s still got maturing to do, I suspect if/when vite switches to esbuild from snowpack will be interesting…. As for next.js, in a world of react server components…..