Upgrade to Pro — share decks privately, control downloads, hide ads and more …

React JS Code Splitting - Why and How?

React JS Code Splitting - Why and How?

Slides for "React JS Code Splitting - Why and How?" workshop.

Arun Michael Dsouza

June 30, 2019
Tweet

More Decks by Arun Michael Dsouza

Other Decks in Programming

Transcript

  1. • Multiple HTTP requests to complete • Large payload to

    download • Site load speed becomes slow • Multiple files for the browser to process
  2. • Lesser HTTP requests to complete • Large payload to

    download • Site load speed improves • Lesser files for the browser to process
  3. • Limited HTTP requests to complete • Less payload to

    download • Site load speed improves drastically • Limited files for the browser to process
  4. • Clone the repo • > git clone https://github.com/React-Delhi-NCR/workshop-02-react-js-code-splitting.git •

    Install dependencies • > npm install • Build project and start server • > npm start • This will start the project server on http://localhost:5000