React js - Code Splitting Tutorial (Performance boosting)

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

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

  • @Royale3533
    @Royale3533 4 года назад

    A couple questions:
    1) I'm getting an unnumbered bundle that's much larger than anything else... I think it might be the entire app. The webpack log in the terminal calls it "main." I notice in yours you also have a "main.chunk.js" that's much larger than everything else (although everything in yours is quite small, but relatively)... what's the deal with that?
    2) I know you can also code split using webpack without using lazy/Suspense at all. What are the advantages/disadvantages of doing it that way, and how do you choose one way over the other?
    Thanks!

  • @fallofmanbrand
    @fallofmanbrand 4 года назад +1

    nice video bro