Chapter 2: Working with Modules and Code Splitting

  1. Code splitting is the process of automatically organizing your programming ins a modular format. Modular programming is the wider concept.
  2. A Chunk refers to a group of modules.
  3. Dynamic imports are essentially on-demand imports into Webpack. An entry point is a fixed and configured Entry Pint where the build begins processing code from. 
  4. Module Chunks using the preload directive loads in parallel to its parent 'chunk', whereas a prefetched chunk starts after the parent chunk finishes loading. Chunks must be instantly requested by the parent chunk when preloaded, whereas a prefetched can be used at any time. Chunks using the preload directive are instantly downloaded when called. A prefetched chunk is downloaded while the browser is idle.
  5. Code linting is the process of removing the unwanted or surplus code.
  6. A promise refers to information returned form a loader.
  7. The SplitChunksPlugin allows the extraction of common dependencies into entry chunks.
  8. This tool will analyze your bundle and give suggestions to reduce your bundle size.
  9. This offers an Interactive pie chart used for Webpack stats.
  10. It is a method for displaying hierarchical data using nested figures, usually rectangles.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.174.174